39 lines
703 B
Plaintext
39 lines
703 B
Plaintext
|
|
worker_processes 1;
|
|
|
|
events {
|
|
worker_connections 1024;
|
|
}
|
|
|
|
http {
|
|
sendfile on;
|
|
gzip on;
|
|
default_type application/octet-stream;
|
|
resolver 127.0.0.1;
|
|
include /etc/nginx/mime.types;
|
|
|
|
server {
|
|
listen 8080;
|
|
server_name localhost;
|
|
autoindex off;
|
|
|
|
root /usr/share/nginx/html;
|
|
|
|
location /static {
|
|
alias /usr/share/nginx/html;
|
|
autoindex on;
|
|
}
|
|
|
|
location ~ ^/auth(?:/(.*))?$ {
|
|
proxy_pass http://auth:3000/$1$is_args$args;
|
|
}
|
|
|
|
location ~ ^/salix(?:/(.*))?$ {
|
|
proxy_pass http://salix:3001/$1$is_args$args;
|
|
}
|
|
|
|
location ~ ^/client(?:/(.*))?$ {
|
|
proxy_pass http://client:3002/$1$is_args$args;
|
|
}
|
|
}
|
|
} |