Skip to content

Commit

Permalink
specific the rewrite host
Browse files Browse the repository at this point in the history
  • Loading branch information
WeihanLi committed Nov 19, 2023
1 parent d318805 commit 7faad4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conf/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7faad4d

Please sign in to comment.