syntax fixes

merge-requests/4/head
Matthew 2020-03-29 01:55:31 -04:00
parent 98a036c46c
commit 077efbbd45
No known key found for this signature in database
GPG Key ID: 766BE43AE75F7559
1 changed files with 7 additions and 7 deletions

View File

@ -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];
} }
} }