17 lines
215 B
Plaintext
17 lines
215 B
Plaintext
|
upstream web {
|
||
|
ip_hash;
|
||
|
server web:8000;
|
||
|
}
|
||
|
|
||
|
# portal
|
||
|
server {
|
||
|
location / {
|
||
|
proxy_pass http://web/;
|
||
|
}
|
||
|
location /static {
|
||
|
alias /src/static;
|
||
|
}
|
||
|
|
||
|
listen 8000;
|
||
|
server_name localhost;
|
||
|
}
|