Route nginx to django app
This commit is contained in:
parent
4326dc2299
commit
92ecbb2c48
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ server {
|
||||||
proxy_set_header X-Original-URL $scheme://$http_host$request_uri;
|
proxy_set_header X-Original-URL $scheme://$http_host$request_uri;
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
|
|
||||||
proxy_pass http://localhost:8080;
|
proxy_pass http://django:8080;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /static {
|
location /static {
|
||||||
|
|
Loading…
Reference in a new issue