From c9b8ed186b17cb3d0d82490a2b68dd894709c23b Mon Sep 17 00:00:00 2001 From: Tommy Date: Thu, 17 Aug 2023 12:18:23 -0700 Subject: [PATCH] Change server_name --- swag/nginx/proxy-confs/gitea.subdomain.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/swag/nginx/proxy-confs/gitea.subdomain.conf b/swag/nginx/proxy-confs/gitea.subdomain.conf index 4ca9742..5f47537 100644 --- a/swag/nginx/proxy-confs/gitea.subdomain.conf +++ b/swag/nginx/proxy-confs/gitea.subdomain.conf @@ -11,7 +11,7 @@ server { listen 443 ssl http2; listen [::]:443 ssl http2; - server_name gitea.*; + server_name git.*; include /config/nginx/ssl.conf; add_header Strict-Transport-Security "max-age=63072000; includeSubDomains; preload" always; @@ -49,4 +49,4 @@ server { proxy_pass $upstream_proto://$upstream_app:$upstream_port; } -} \ No newline at end of file +}