forked from engineering/cloudservices
syntax fixes
parent
98a036c46c
commit
077efbbd45
|
@ -24,19 +24,19 @@ server {
|
||||||
limit_req zone=one burst=15;
|
limit_req zone=one burst=15;
|
||||||
location / {
|
location / {
|
||||||
|
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
|
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
|
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
|
|
||||||
proxy_set_header X-Forwarded-Proto $scheme;
|
proxy_set_header X-Forwarded-Proto $scheme;
|
||||||
|
|
||||||
proxy_pass http://localhost:[PORT];
|
proxy_pass http://localhost:[PORT];
|
||||||
|
|
||||||
proxy_read_timeout 90;
|
proxy_read_timeout 90;
|
||||||
|
|
||||||
proxy_redirect http://localhost:[PORT] https://[DOMAIN];
|
proxy_redirect http://localhost:[PORT] https://[DOMAIN];
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue