summaryrefslogtreecommitdiffstats
path: root/dashboard/config/nginx/pharos_dashboard.conf
blob: 6f32979bd67869b6e176e998e7d1956bf9a5f052 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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/;
    }
}