diff options
Diffstat (limited to 'config/nginx')
-rw-r--r-- | config/nginx/pharos_dashboard.conf | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/config/nginx/pharos_dashboard.conf b/config/nginx/pharos_dashboard.conf index 87b6f8e..6f32979 100644 --- a/config/nginx/pharos_dashboard.conf +++ b/config/nginx/pharos_dashboard.conf @@ -1,24 +1,24 @@ upstream web { - ip_hash; - server web:8000; + ip_hash; + server web:8000; } # portal -server { - listen 80; - server_name localhost; - charset utf-8; +server { + listen 80; + server_name localhost; + charset utf-8; - location /static { + location /static { alias /static; - } + } - location /media { + location /media { alias /media; - } + } - location / { + location / { proxy_set_header Host $host; - proxy_pass http://web/; - } + proxy_pass http://web/; + } } |