From 7faad4d572369b79abe1b1d2a61d5466fd1d8f75 Mon Sep 17 00:00:00 2001 From: Weihan Li Date: Mon, 20 Nov 2023 00:24:31 +0800 Subject: [PATCH] specific the rewrite host --- conf/nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 97c9d74..604b849 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -40,7 +40,7 @@ http { set $accept_language "zh"; } # Redirect "/" to Angular application in the preferred language of the browser - rewrite ^/$ /$accept_language permanent; + rewrite ^/$ https://reservation.weihanli.xyz/$accept_language permanent; # Everything under the Angular application is always redirected to Angular in the # correct language