forked from kristjan/cjvt-valency
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
380 B
22 lines
380 B
# frontend
|
|
server {
|
|
listen 80;
|
|
server_name _;
|
|
|
|
location / {
|
|
root /srv/dist;
|
|
index index.html index.htm;
|
|
}
|
|
}
|
|
|
|
# backend
|
|
server {
|
|
listen 8084;
|
|
server_name _;
|
|
|
|
location / {
|
|
proxy_set_header X-Forward-For $proxy_add_x_forwarded_for;
|
|
proxy_set_header Host $http_host;
|
|
proxy_pass http://backend_flask:8084;
|
|
}
|
|
} |