mirror of
https://github.com/cloudpanel-io/vhost-templates.git
synced 2026-05-18 08:23:31 +08:00
.
This commit is contained in:
@@ -17,7 +17,7 @@ server {
|
|||||||
{{nginx_error_log}}
|
{{nginx_error_log}}
|
||||||
|
|
||||||
if ($scheme != "https") {
|
if ($scheme != "https") {
|
||||||
rewrite ^ https://$host$uri permanent;
|
rewrite ^ https://$host$request_uri permanent;
|
||||||
}
|
}
|
||||||
|
|
||||||
location ~ /.well-known {
|
location ~ /.well-known {
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ server {
|
|||||||
{{nginx_error_log}}
|
{{nginx_error_log}}
|
||||||
|
|
||||||
if ($scheme != "https") {
|
if ($scheme != "https") {
|
||||||
rewrite ^ https://$host$uri permanent;
|
rewrite ^ https://$host$request_uri permanent;
|
||||||
}
|
}
|
||||||
|
|
||||||
location ~ /.well-known {
|
location ~ /.well-known {
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ server {
|
|||||||
{{nginx_error_log}}
|
{{nginx_error_log}}
|
||||||
|
|
||||||
if ($scheme != "https") {
|
if ($scheme != "https") {
|
||||||
rewrite ^ https://$host$uri permanent;
|
rewrite ^ https://$host$request_uri permanent;
|
||||||
}
|
}
|
||||||
|
|
||||||
location ~ /.well-known {
|
location ~ /.well-known {
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ server {
|
|||||||
{{nginx_error_log}}
|
{{nginx_error_log}}
|
||||||
|
|
||||||
if ($scheme != "https") {
|
if ($scheme != "https") {
|
||||||
rewrite ^ https://$host$uri permanent;
|
rewrite ^ https://$host$request_uri permanent;
|
||||||
}
|
}
|
||||||
|
|
||||||
location ~ /.well-known {
|
location ~ /.well-known {
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ server {
|
|||||||
{{nginx_error_log}}
|
{{nginx_error_log}}
|
||||||
|
|
||||||
if ($scheme != "https") {
|
if ($scheme != "https") {
|
||||||
rewrite ^ https://$host$uri permanent;
|
rewrite ^ https://$host$request_uri permanent;
|
||||||
}
|
}
|
||||||
|
|
||||||
location ~ /.well-known {
|
location ~ /.well-known {
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ server {
|
|||||||
{{nginx_error_log}}
|
{{nginx_error_log}}
|
||||||
|
|
||||||
if ($scheme != "https") {
|
if ($scheme != "https") {
|
||||||
rewrite ^ https://$host$uri permanent;
|
rewrite ^ https://$host$request_uri permanent;
|
||||||
}
|
}
|
||||||
|
|
||||||
location ~ /.well-known {
|
location ~ /.well-known {
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ server {
|
|||||||
{{nginx_error_log}}
|
{{nginx_error_log}}
|
||||||
|
|
||||||
if ($scheme != "https") {
|
if ($scheme != "https") {
|
||||||
rewrite ^ https://$host$uri permanent;
|
rewrite ^ https://$host$request_uri permanent;
|
||||||
}
|
}
|
||||||
|
|
||||||
location ~ /.well-known {
|
location ~ /.well-known {
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ server {
|
|||||||
{{nginx_error_log}}
|
{{nginx_error_log}}
|
||||||
|
|
||||||
if ($scheme != "https") {
|
if ($scheme != "https") {
|
||||||
rewrite ^ https://$host$uri permanent;
|
rewrite ^ https://$host$request_uri permanent;
|
||||||
}
|
}
|
||||||
|
|
||||||
location ~ /.well-known {
|
location ~ /.well-known {
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ server {
|
|||||||
{{nginx_error_log}}
|
{{nginx_error_log}}
|
||||||
|
|
||||||
if ($scheme != "https") {
|
if ($scheme != "https") {
|
||||||
rewrite ^ https://$host$uri permanent;
|
rewrite ^ https://$host$request_uri permanent;
|
||||||
}
|
}
|
||||||
|
|
||||||
location ~ /.well-known {
|
location ~ /.well-known {
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ server {
|
|||||||
{{nginx_error_log}}
|
{{nginx_error_log}}
|
||||||
|
|
||||||
if ($scheme != "https") {
|
if ($scheme != "https") {
|
||||||
rewrite ^ https://$host$uri permanent;
|
rewrite ^ https://$host$request_uri permanent;
|
||||||
}
|
}
|
||||||
|
|
||||||
location ~ /.well-known {
|
location ~ /.well-known {
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ server {
|
|||||||
{{nginx_error_log}}
|
{{nginx_error_log}}
|
||||||
|
|
||||||
if ($scheme != "https") {
|
if ($scheme != "https") {
|
||||||
rewrite ^ https://$host$uri permanent;
|
rewrite ^ https://$host$request_uri permanent;
|
||||||
}
|
}
|
||||||
|
|
||||||
location ~ /.well-known {
|
location ~ /.well-known {
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ server {
|
|||||||
{{nginx_error_log}}
|
{{nginx_error_log}}
|
||||||
|
|
||||||
if ($scheme != "https") {
|
if ($scheme != "https") {
|
||||||
rewrite ^ https://$host$uri permanent;
|
rewrite ^ https://$host$request_uri permanent;
|
||||||
}
|
}
|
||||||
|
|
||||||
location ~ /.well-known {
|
location ~ /.well-known {
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ server {
|
|||||||
{{nginx_error_log}}
|
{{nginx_error_log}}
|
||||||
|
|
||||||
if ($scheme != "https") {
|
if ($scheme != "https") {
|
||||||
rewrite ^ https://$host$uri permanent;
|
rewrite ^ https://$host$request_uri permanent;
|
||||||
}
|
}
|
||||||
|
|
||||||
location ~ /.well-known {
|
location ~ /.well-known {
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ server {
|
|||||||
{{nginx_error_log}}
|
{{nginx_error_log}}
|
||||||
|
|
||||||
if ($scheme != "https") {
|
if ($scheme != "https") {
|
||||||
rewrite ^ https://$host$uri permanent;
|
rewrite ^ https://$host$request_uri permanent;
|
||||||
}
|
}
|
||||||
|
|
||||||
location ~ /.well-known {
|
location ~ /.well-known {
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ server {
|
|||||||
{{nginx_error_log}}
|
{{nginx_error_log}}
|
||||||
|
|
||||||
#if ($scheme != "https") {
|
#if ($scheme != "https") {
|
||||||
# rewrite ^ https://$host$uri permanent;
|
# rewrite ^ https://$host$request_uri permanent;
|
||||||
#}
|
#}
|
||||||
|
|
||||||
location ~ /.well-known {
|
location ~ /.well-known {
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ server {
|
|||||||
{{nginx_error_log}}
|
{{nginx_error_log}}
|
||||||
|
|
||||||
if ($scheme != "https") {
|
if ($scheme != "https") {
|
||||||
rewrite ^ https://$host$uri permanent;
|
rewrite ^ https://$host$request_uri permanent;
|
||||||
}
|
}
|
||||||
|
|
||||||
location ~ /.well-known {
|
location ~ /.well-known {
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ server {
|
|||||||
{{nginx_error_log}}
|
{{nginx_error_log}}
|
||||||
|
|
||||||
if ($scheme != "https") {
|
if ($scheme != "https") {
|
||||||
rewrite ^ https://$host$uri permanent;
|
rewrite ^ https://$host$request_uri permanent;
|
||||||
}
|
}
|
||||||
|
|
||||||
# set max upload size and increase upload timeout:
|
# set max upload size and increase upload timeout:
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ server {
|
|||||||
{{nginx_error_log}}
|
{{nginx_error_log}}
|
||||||
|
|
||||||
if ($scheme != "https") {
|
if ($scheme != "https") {
|
||||||
rewrite ^ https://$host$uri permanent;
|
rewrite ^ https://$host$request_uri permanent;
|
||||||
}
|
}
|
||||||
|
|
||||||
location ~ /.well-known {
|
location ~ /.well-known {
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ server {
|
|||||||
{{nginx_error_log}}
|
{{nginx_error_log}}
|
||||||
|
|
||||||
#if ($scheme != "https") {
|
#if ($scheme != "https") {
|
||||||
# rewrite ^ https://$host$uri permanent;
|
# rewrite ^ https://$host$request_uri permanent;
|
||||||
#}
|
#}
|
||||||
|
|
||||||
location ~ /.well-known {
|
location ~ /.well-known {
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ server {
|
|||||||
{{nginx_error_log}}
|
{{nginx_error_log}}
|
||||||
|
|
||||||
if ($scheme != "https") {
|
if ($scheme != "https") {
|
||||||
rewrite ^ https://$host$uri permanent;
|
rewrite ^ https://$host$request_uri permanent;
|
||||||
}
|
}
|
||||||
|
|
||||||
location ~ /.well-known {
|
location ~ /.well-known {
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ server {
|
|||||||
{{nginx_error_log}}
|
{{nginx_error_log}}
|
||||||
|
|
||||||
if ($scheme != "https") {
|
if ($scheme != "https") {
|
||||||
rewrite ^ https://$host$uri permanent;
|
rewrite ^ https://$host$request_uri permanent;
|
||||||
}
|
}
|
||||||
|
|
||||||
location @reverse_proxy {
|
location @reverse_proxy {
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ server {
|
|||||||
{{nginx_error_log}}
|
{{nginx_error_log}}
|
||||||
|
|
||||||
if ($scheme != "https") {
|
if ($scheme != "https") {
|
||||||
rewrite ^ https://$host$uri permanent;
|
rewrite ^ https://$host$request_uri permanent;
|
||||||
}
|
}
|
||||||
|
|
||||||
location ~ /.well-known {
|
location ~ /.well-known {
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ server {
|
|||||||
{{nginx_error_log}}
|
{{nginx_error_log}}
|
||||||
|
|
||||||
if ($scheme != "https") {
|
if ($scheme != "https") {
|
||||||
rewrite ^ https://$host$uri permanent;
|
rewrite ^ https://$host$request_uri permanent;
|
||||||
}
|
}
|
||||||
|
|
||||||
location ~ /.well-known {
|
location ~ /.well-known {
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ server {
|
|||||||
{{nginx_error_log}}
|
{{nginx_error_log}}
|
||||||
|
|
||||||
if ($scheme != "https") {
|
if ($scheme != "https") {
|
||||||
rewrite ^ https://$host$uri permanent;
|
rewrite ^ https://$host$request_uri permanent;
|
||||||
}
|
}
|
||||||
|
|
||||||
location ~ /.well-known {
|
location ~ /.well-known {
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ server {
|
|||||||
{{nginx_error_log}}
|
{{nginx_error_log}}
|
||||||
|
|
||||||
if ($scheme != "https") {
|
if ($scheme != "https") {
|
||||||
rewrite ^ https://$host$uri permanent;
|
rewrite ^ https://$host$request_uri permanent;
|
||||||
}
|
}
|
||||||
|
|
||||||
location ~ /.well-known {
|
location ~ /.well-known {
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ server {
|
|||||||
{{nginx_error_log}}
|
{{nginx_error_log}}
|
||||||
|
|
||||||
if ($scheme != "https") {
|
if ($scheme != "https") {
|
||||||
rewrite ^ https://$host$uri permanent;
|
rewrite ^ https://$host$request_uri permanent;
|
||||||
}
|
}
|
||||||
|
|
||||||
location ~ /.well-known {
|
location ~ /.well-known {
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ server {
|
|||||||
{{nginx_error_log}}
|
{{nginx_error_log}}
|
||||||
|
|
||||||
if ($scheme != "https") {
|
if ($scheme != "https") {
|
||||||
rewrite ^ https://$host$uri permanent;
|
rewrite ^ https://$host$request_uri permanent;
|
||||||
}
|
}
|
||||||
|
|
||||||
location ~ /.well-known {
|
location ~ /.well-known {
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ server {
|
|||||||
{{nginx_error_log}}
|
{{nginx_error_log}}
|
||||||
|
|
||||||
if ($scheme != "https") {
|
if ($scheme != "https") {
|
||||||
rewrite ^ https://$host$uri permanent;
|
rewrite ^ https://$host$request_uri permanent;
|
||||||
}
|
}
|
||||||
|
|
||||||
location ~ /.well-known {
|
location ~ /.well-known {
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ server {
|
|||||||
{{nginx_error_log}}
|
{{nginx_error_log}}
|
||||||
|
|
||||||
if ($scheme != "https") {
|
if ($scheme != "https") {
|
||||||
rewrite ^ https://$host$uri permanent;
|
rewrite ^ https://$host$request_uri permanent;
|
||||||
}
|
}
|
||||||
|
|
||||||
location ~ /.well-known {
|
location ~ /.well-known {
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ server {
|
|||||||
{{nginx_error_log}}
|
{{nginx_error_log}}
|
||||||
|
|
||||||
if ($scheme != "https") {
|
if ($scheme != "https") {
|
||||||
rewrite ^ https://$host$uri permanent;
|
rewrite ^ https://$host$request_uri permanent;
|
||||||
}
|
}
|
||||||
|
|
||||||
location ~ /.well-known {
|
location ~ /.well-known {
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ server {
|
|||||||
{{nginx_error_log}}
|
{{nginx_error_log}}
|
||||||
|
|
||||||
if ($scheme != "https") {
|
if ($scheme != "https") {
|
||||||
rewrite ^ https://$host$uri permanent;
|
rewrite ^ https://$host$request_uri permanent;
|
||||||
}
|
}
|
||||||
|
|
||||||
location ~ /.well-known {
|
location ~ /.well-known {
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ server {
|
|||||||
add_header Strict-Transport-Security "max-age=15552000; includeSubDomains";
|
add_header Strict-Transport-Security "max-age=15552000; includeSubDomains";
|
||||||
|
|
||||||
if ($scheme != "https") {
|
if ($scheme != "https") {
|
||||||
rewrite ^ https://$host$uri permanent;
|
rewrite ^ https://$host$request_uri permanent;
|
||||||
}
|
}
|
||||||
|
|
||||||
location ~ /.well-known {
|
location ~ /.well-known {
|
||||||
|
|||||||
Reference in New Issue
Block a user