Skip to content
Snippets Groups Projects
Commit bc76c2e6 authored by Niaz Faridani-Rad's avatar Niaz Faridani-Rad
Browse files

[FIX] Access from different computer

parent b28ac8b3
No related branches found
No related tags found
No related merge requests found
...@@ -21,7 +21,7 @@ http { ...@@ -21,7 +21,7 @@ http {
location ~ ^/(api|media)/ { location ~ ^/(api|media)/ {
proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $host; proxy_set_header Host backend;
include uwsgi_params; include uwsgi_params;
proxy_pass http://backend:8001; proxy_pass http://backend:8001;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment