File tree Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Original file line number Diff line number Diff 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
195195server {
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
You can’t perform that action at this time.
0 commit comments