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.
|
upstream docker-web {
|
|
server 178.18.0.5:9001;
|
|
}
|
|
|
|
server {
|
|
include /etc/nginx/extra-conf.d/*.conf;
|
|
|
|
listen 80;
|
|
|
|
include /etc/nginx/mime.types;
|
|
|
|
location / {
|
|
root /usr/share/nginx/html;
|
|
try_files $uri $uri/ /index.html;
|
|
}
|
|
|
|
|
|
location /api/ {
|
|
proxy_pass http://docker-web;
|
|
}
|
|
|
|
} |