mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-02 04:10:37 +08:00

* refactor(compose-yaml): ♻️ avoid unused and unnecessary ports mapping from compose files Signed-off-by: Prashant Shahi <prashant@signoz.io> * refactor(frontend): 💥 change frontend port to 3301 BREAKING CHANGE: Signed-off-by: Prashant Shahi <prashant@signoz.io>
29 lines
702 B
Plaintext
29 lines
702 B
Plaintext
server {
|
|
listen 3301;
|
|
server_name _;
|
|
|
|
gzip on;
|
|
gzip_static on;
|
|
gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript;
|
|
gzip_proxied any;
|
|
gzip_vary on;
|
|
gzip_comp_level 6;
|
|
gzip_buffers 16 8k;
|
|
gzip_http_version 1.1;
|
|
|
|
location / {
|
|
root /usr/share/nginx/html;
|
|
index index.html index.htm;
|
|
try_files $uri $uri/ /index.html;
|
|
}
|
|
location = /api {
|
|
proxy_pass http://signoz-query-service:8080/api;
|
|
}
|
|
|
|
# redirect server error pages to the static page /50x.html
|
|
#
|
|
error_page 500 502 503 504 /50x.html;
|
|
location = /50x.html {
|
|
root /usr/share/nginx/html;
|
|
}
|
|
} |