refactor: Update server_name in Nginx configuration

This commit updates the server_name directive in the Nginx configuration file to remove the ${HOST}:${ONEUPTIME_HTTP_PORT} variable and use just ${HOST}. This change ensures that the server_name is set correctly for all domains.
This commit is contained in:
Simon Larsen
2024-06-24 21:43:24 +01:00
parent 3aaed9c901
commit c450c3fa1b

View File

@@ -358,7 +358,7 @@ server {
listen 7849;
http2 on;
server_name localhost ingress ${HOST}:${ONEUPTIME_HTTP_PORT}; #All domains
server_name localhost ingress ${HOST}; #All domains
proxy_busy_buffers_size 512k;
proxy_buffers 4 512k;