Skip to content

Commit 48e1151

Browse files
Update README.md
1 parent ef7f4cb commit 48e1151

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

README.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -183,19 +183,19 @@ server {
183183
location / {
184184
# Use whatever network alias you set in the docker-compose file
185185
proxy_pass http://secured-signal-api:8880;
186-
proxy_set_header Host ;
187-
proxy_set_header X-Real-IP ;
188-
proxy_set_header X-Forwarded-For ;
189-
proxy_set_header X-Forwarded-Host ;
190-
proxy_set_header X-Fowarded-Proto ;
186+
proxy_set_header Host $host;
187+
proxy_set_header X-Real-IP $remote_addr;
188+
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
189+
proxy_set_header X-Forwarded-Host $host;
190+
proxy_set_header X-Fowarded-Proto $scheme;
191191
}
192192
}
193193

194194
# Redirect HTTP to HTTPs
195195
server {
196196
listen 80;
197197
server_name localhost;
198-
return 301 https://;
198+
return 301 https://$host$request_uri;
199199
}
200200
```
201201

@@ -500,7 +500,9 @@ Feel free to open up an issue or create a Pull Request!
500500

501501
## Support
502502

503-
Has this Repo been helpful 👍️ to you? Then consider ⭐️'ing this Project. :)
503+
Has this Repo been helpful 👍️ to you? Then consider ⭐️'ing this Project.
504+
505+
:)
504506

505507
## License
506508

0 commit comments

Comments
 (0)