salix/services/nginx/conf-prod.conf

39 lines
695 B
Plaintext
Raw Normal View History

worker_processes 1;
events {
worker_connections 1024;
}
http {
sendfile on;
gzip on;
default_type application/octet-stream;
include /etc/nginx/mime.types;
server {
listen 8080;
server_name localhost;
autoindex off;
root /usr/share/nginx/html;
location /static {
alias public;
autoindex on;
}
location ~ ^/account(?:/(.*))?$ {
proxy_pass http://192.168.99.100:3000/$1$is_args$args;
}
location ~ ^/salix(?:/(.*))?$ {
proxy_pass http://192.168.99.100:3001/$1$is_args$args;
}
location ~ ^/customer(?:/(.*))?$ {
proxy_pass http://192.168.99.100:3002/$1$is_args$args;
}
}
}