Skip to content

Commit 58cd76b

Browse files
author
lillian
committed
can't do that
1 parent c066f9e commit 58cd76b

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

hosts/www.hacklab.to/nginx.conf

+6-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,12 @@ http {
6464

6565
server_name www.hacklab.to;
6666
location / {
67-
return 301 https://hacklab.to$request_uri;
67+
# so, we probably want to `return 301 https://hacklab.to$request_uri;` here
68+
# but right now, in prod, @.hacklab.to points to the old VPS for mailserver reasons
69+
# and apache on that VM proxies to www.hacklab.to
70+
proxy_set_header X-Forwarded-Proto $scheme;
71+
proxy_set_header Host hacklab.to;
72+
proxy_pass http://[::1]:18883;
6873
}
6974
}
7075

0 commit comments

Comments
 (0)