mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-11 02:15:48 +02:00
Merge pull request #643 from 321hendrik/patch-1
Use redirect instead of rewrite for reverse proxy example
This commit is contained in:
commit
ddc0bf0cdf
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ server {
|
|||
listen [::]:80;
|
||||
|
||||
server_name <your_server_name>;
|
||||
rewrite ^(.*)$ https://$host$1 permanent;
|
||||
return 301 https://$host$request_uri;
|
||||
}
|
||||
|
||||
map $http_upgrade $connection_upgrade {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue