From c450c3fa1b23e4784e762d21e5b60e20de3d2e95 Mon Sep 17 00:00:00 2001 From: Simon Larsen Date: Mon, 24 Jun 2024 21:43:24 +0100 Subject: [PATCH] ```text 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. --- Nginx/default.conf.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Nginx/default.conf.template b/Nginx/default.conf.template index 7bc0b2371f..2f95a866f7 100644 --- a/Nginx/default.conf.template +++ b/Nginx/default.conf.template @@ -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;