salix/services/nginx/conf-prod.conf

39 lines
678 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 ~ ^/auth(?:/(.*))?$ {
2017-05-12 11:14:52 +00:00
proxy_pass http://test-auth:3000/$1$is_args$args;
}
location ~ ^/salix(?:/(.*))?$ {
2017-05-12 11:14:52 +00:00
proxy_pass http://test-salix:3001/$1$is_args$args;
}
location ~ ^/client(?:/(.*))?$ {
2017-05-12 11:14:52 +00:00
proxy_pass http://test-client:3002/$1$is_args$args;
}
}
}