1
0
Fork 0
forked from exozyme/nginx

Update server.conf

This commit is contained in:
Anthony Wang 2021-06-12 21:00:59 +00:00 committed by GitHub
parent 883dfcf080
commit e2d8853aed
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,6 +6,10 @@ server {
ssl_certificate_key /etc/letsencrypt/live/exozy.me/privkey.pem;
location / {
proxy_pass https://localhost:6000;
proxy_pass http://127.0.0.1:6000;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto https;
}
}