Phase 2: services/web-ui/nginx.conf
This commit is contained in:
parent
8ab7ea4d8d
commit
aa4baca091
1 changed files with 7 additions and 0 deletions
|
|
@ -2,6 +2,9 @@ server {
|
|||
listen 80;
|
||||
server_name _;
|
||||
|
||||
# Allow unlimited client upload size
|
||||
client_max_body_size 0;
|
||||
|
||||
# Gzip compression
|
||||
gzip on;
|
||||
gzip_types text/plain text/css text/javascript application/javascript application/json;
|
||||
|
|
@ -24,6 +27,7 @@ server {
|
|||
|
||||
# API proxy - forward to mam-api service
|
||||
location /api/ {
|
||||
client_max_body_size 0;
|
||||
proxy_pass http://mam-api:3000;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
|
|
@ -34,6 +38,9 @@ server {
|
|||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
proxy_buffering off;
|
||||
proxy_request_buffering off;
|
||||
proxy_connect_timeout 300;
|
||||
proxy_send_timeout 300;
|
||||
proxy_read_timeout 300;
|
||||
}
|
||||
|
||||
# Capture proxy - forward to capture service
|
||||
|
|
|
|||
Loading…
Reference in a new issue