mirror of
https://github.com/openmhz/trunk-server.git
synced 2026-11-12 16:57:39 -05:00
focused logging
This commit is contained in:
@@ -3,9 +3,20 @@ server {
|
||||
|
||||
server_name ${DOMAIN_NAME} www.${DOMAIN_NAME};
|
||||
|
||||
location /static {
|
||||
proxy_pass http://frontend:3000;
|
||||
access_log off;
|
||||
}
|
||||
|
||||
location /favicon.ico {
|
||||
proxy_pass http://frontend:3000;
|
||||
access_log off;
|
||||
}
|
||||
|
||||
location / {
|
||||
proxy_pass http://frontend:3000;
|
||||
include /etc/nginx/proxy.conf;
|
||||
access_log /dev/stdout main;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -17,6 +28,7 @@ server {
|
||||
location / {
|
||||
proxy_pass http://account:3009;
|
||||
include /etc/nginx/proxy.conf;
|
||||
access_log off;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -28,6 +40,7 @@ server {
|
||||
location / {
|
||||
proxy_pass http://admin:3008;
|
||||
include /etc/nginx/proxy.conf;
|
||||
access_log off;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -44,6 +57,7 @@ server {
|
||||
proxy_set_header Connection "upgrade";
|
||||
proxy_set_header Host $host;
|
||||
proxy_cache_bypass $http_upgrade;
|
||||
access_log off;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -62,6 +76,7 @@ server {
|
||||
proxy_set_header Connection "upgrade";
|
||||
proxy_set_header Host $host;
|
||||
proxy_cache_bypass $http_upgrade;
|
||||
access_log off;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -74,5 +89,6 @@ server {
|
||||
proxy_pass http://backend:3005/audio$request_uri;
|
||||
proxy_set_header Host $host;
|
||||
include /etc/nginx/proxy.conf;
|
||||
access_log off;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user