summaryrefslogtreecommitdiff
path: root/sandcastle/nginx-example.conf
diff options
context:
space:
mode:
Diffstat (limited to 'sandcastle/nginx-example.conf')
-rw-r--r--sandcastle/nginx-example.conf10
1 files changed, 0 insertions, 10 deletions
diff --git a/sandcastle/nginx-example.conf b/sandcastle/nginx-example.conf
index 1131b51..b43e49b 100644
--- a/sandcastle/nginx-example.conf
+++ b/sandcastle/nginx-example.conf
@@ -59,8 +59,6 @@
server {
server_name bank.example.com;
-## NEED TO ADD IT AFTERWARDS
-
location = / {
return 301 https://bank.example.com/webui;
@@ -82,14 +80,6 @@
proxy_set_header X-Forwarded-Prefix "/";
}
-## END NEEDED TO ADD AFTERWARDS
-
- #location / {
- # proxy_set_header X-Forwarded-Host "bank.example.com";
- #proxy_set_header X-Forwarded-Proto "https";
- #proxy_set_header X-Forwarded-Prefix /;
- #proxy_pass http://localhost:15000/;
- #}
listen 443 ssl; # managed by Certbot
ssl_certificate /etc/letsencrypt/live/backend.example.com/fullchain.pem; # managed by Certbot