summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--etc/nginx/sites-enabled/demo.site9
1 files changed, 8 insertions, 1 deletions
diff --git a/etc/nginx/sites-enabled/demo.site b/etc/nginx/sites-enabled/demo.site
index c231f78..c027648 100644
--- a/etc/nginx/sites-enabled/demo.site
+++ b/etc/nginx/sites-enabled/demo.site
@@ -1,7 +1,12 @@
server {
listen 80;
listen [::]:80;
- server_name demo.taler.net *.demo.taler.net;
+ server_name demo.taler.net
+ bank.demo.taler.net
+ shop.demo.taler.net
+ blog.demo.taler.net
+ exchange.demo.taler.net;
+
rewrite ^ https://$host$request_uri? permanent;
}
@@ -45,7 +50,9 @@ server {
server {
listen 443 ssl;
+ listen 80;
listen [::]:443 ssl;
+ listen [::]:80;
server_name backend.demo.taler.net;
ssi on;
include conf.d/test.redirects;