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