aboutsummaryrefslogtreecommitdiffstats
path: root/config/nginx/pharos_dashboard.conf
blob: 87b6f8e8f3e8d5b911304a422783d8fc2a3033ee (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/;
	}
}