We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c066f9e commit 58cd76bCopy full SHA for 58cd76b
hosts/www.hacklab.to/nginx.conf
@@ -64,7 +64,12 @@ http {
64
65
server_name www.hacklab.to;
66
location / {
67
- return 301 https://hacklab.to$request_uri;
+ # 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;
73
}
74
75
0 commit comments