forked from exozyme/nginx
Update server.conf
This commit is contained in:
parent
883dfcf080
commit
e2d8853aed
1 changed files with 5 additions and 1 deletions
|
@ -6,6 +6,10 @@ server {
|
||||||
ssl_certificate_key /etc/letsencrypt/live/exozy.me/privkey.pem;
|
ssl_certificate_key /etc/letsencrypt/live/exozy.me/privkey.pem;
|
||||||
|
|
||||||
location / {
|
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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue