mirror of
https://github.com/myvesta/vesta
synced 2025-07-06 04:51:54 -07:00
force-https fix
This commit is contained in:
parent
505c4085f5
commit
d84a021354
28 changed files with 28 additions and 28 deletions
|
@ -2,7 +2,7 @@ server {
|
||||||
listen %ip%:%proxy_port%;
|
listen %ip%:%proxy_port%;
|
||||||
server_name %domain_idn% %alias_idn%;
|
server_name %domain_idn% %alias_idn%;
|
||||||
location / {
|
location / {
|
||||||
rewrite ^(.*) https://$host%$1 permanent;
|
rewrite ^(.*) https://$host$1 permanent;
|
||||||
}
|
}
|
||||||
include %home%/%user%/conf/web/*nginx.%domain_idn%.conf_letsencrypt;
|
include %home%/%user%/conf/web/*nginx.%domain_idn%.conf_letsencrypt;
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,7 +2,7 @@ server {
|
||||||
listen %ip%:%proxy_port%;
|
listen %ip%:%proxy_port%;
|
||||||
server_name %domain_idn% %alias_idn%;
|
server_name %domain_idn% %alias_idn%;
|
||||||
location / {
|
location / {
|
||||||
rewrite ^(.*) https://$host%$1 permanent;
|
rewrite ^(.*) https://$host$1 permanent;
|
||||||
}
|
}
|
||||||
include %home%/%user%/conf/web/*nginx.%domain_idn%.conf_letsencrypt;
|
include %home%/%user%/conf/web/*nginx.%domain_idn%.conf_letsencrypt;
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,7 +2,7 @@ server {
|
||||||
listen %ip%:%proxy_port%;
|
listen %ip%:%proxy_port%;
|
||||||
server_name %domain_idn% %alias_idn%;
|
server_name %domain_idn% %alias_idn%;
|
||||||
location / {
|
location / {
|
||||||
rewrite ^(.*) https://$host%$1 permanent;
|
rewrite ^(.*) https://$host$1 permanent;
|
||||||
}
|
}
|
||||||
include %home%/%user%/conf/web/*nginx.%domain_idn%.conf_letsencrypt;
|
include %home%/%user%/conf/web/*nginx.%domain_idn%.conf_letsencrypt;
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,7 +2,7 @@ server {
|
||||||
listen %ip%:%proxy_port%;
|
listen %ip%:%proxy_port%;
|
||||||
server_name %domain_idn% %alias_idn%;
|
server_name %domain_idn% %alias_idn%;
|
||||||
location / {
|
location / {
|
||||||
rewrite ^(.*) https://$host%$1 permanent;
|
rewrite ^(.*) https://$host$1 permanent;
|
||||||
}
|
}
|
||||||
include %home%/%user%/conf/web/*nginx.%domain_idn%.conf_letsencrypt;
|
include %home%/%user%/conf/web/*nginx.%domain_idn%.conf_letsencrypt;
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,7 +2,7 @@ server {
|
||||||
listen %ip%:%proxy_port%;
|
listen %ip%:%proxy_port%;
|
||||||
server_name %domain_idn% %alias_idn%;
|
server_name %domain_idn% %alias_idn%;
|
||||||
location / {
|
location / {
|
||||||
rewrite ^(.*) https://$host%$1 permanent;
|
rewrite ^(.*) https://$host$1 permanent;
|
||||||
}
|
}
|
||||||
include %home%/%user%/conf/web/*nginx.%domain_idn%.conf_letsencrypt;
|
include %home%/%user%/conf/web/*nginx.%domain_idn%.conf_letsencrypt;
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,7 +2,7 @@ server {
|
||||||
listen %ip%:%proxy_port%;
|
listen %ip%:%proxy_port%;
|
||||||
server_name %domain_idn% %alias_idn%;
|
server_name %domain_idn% %alias_idn%;
|
||||||
location / {
|
location / {
|
||||||
rewrite ^(.*) https://$host%$1 permanent;
|
rewrite ^(.*) https://$host$1 permanent;
|
||||||
}
|
}
|
||||||
include %home%/%user%/conf/web/*nginx.%domain_idn%.conf_letsencrypt;
|
include %home%/%user%/conf/web/*nginx.%domain_idn%.conf_letsencrypt;
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,7 +2,7 @@ server {
|
||||||
listen %ip%:%proxy_port%;
|
listen %ip%:%proxy_port%;
|
||||||
server_name %domain_idn% %alias_idn%;
|
server_name %domain_idn% %alias_idn%;
|
||||||
location / {
|
location / {
|
||||||
rewrite ^(.*) https://$host%$1 permanent;
|
rewrite ^(.*) https://$host$1 permanent;
|
||||||
}
|
}
|
||||||
include %home%/%user%/conf/web/*nginx.%domain_idn%.conf_letsencrypt;
|
include %home%/%user%/conf/web/*nginx.%domain_idn%.conf_letsencrypt;
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,7 +2,7 @@ server {
|
||||||
listen %ip%:%proxy_port%;
|
listen %ip%:%proxy_port%;
|
||||||
server_name %domain_idn% %alias_idn%;
|
server_name %domain_idn% %alias_idn%;
|
||||||
location / {
|
location / {
|
||||||
rewrite ^(.*) https://$host%$1 permanent;
|
rewrite ^(.*) https://$host$1 permanent;
|
||||||
}
|
}
|
||||||
include %home%/%user%/conf/web/*nginx.%domain_idn%.conf_letsencrypt;
|
include %home%/%user%/conf/web/*nginx.%domain_idn%.conf_letsencrypt;
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,7 +2,7 @@ server {
|
||||||
listen %ip%:%proxy_port%;
|
listen %ip%:%proxy_port%;
|
||||||
server_name %domain_idn% %alias_idn%;
|
server_name %domain_idn% %alias_idn%;
|
||||||
location / {
|
location / {
|
||||||
rewrite ^(.*) https://$host%$1 permanent;
|
rewrite ^(.*) https://$host$1 permanent;
|
||||||
}
|
}
|
||||||
include %home%/%user%/conf/web/*nginx.%domain_idn%.conf_letsencrypt;
|
include %home%/%user%/conf/web/*nginx.%domain_idn%.conf_letsencrypt;
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,7 +2,7 @@ server {
|
||||||
listen %ip%:%proxy_port%;
|
listen %ip%:%proxy_port%;
|
||||||
server_name %domain_idn% %alias_idn%;
|
server_name %domain_idn% %alias_idn%;
|
||||||
location / {
|
location / {
|
||||||
rewrite ^(.*) https://$host%$1 permanent;
|
rewrite ^(.*) https://$host$1 permanent;
|
||||||
}
|
}
|
||||||
include %home%/%user%/conf/web/*nginx.%domain_idn%.conf_letsencrypt;
|
include %home%/%user%/conf/web/*nginx.%domain_idn%.conf_letsencrypt;
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,7 +2,7 @@ server {
|
||||||
listen %ip%:%proxy_port%;
|
listen %ip%:%proxy_port%;
|
||||||
server_name %domain_idn% %alias_idn%;
|
server_name %domain_idn% %alias_idn%;
|
||||||
location / {
|
location / {
|
||||||
rewrite ^(.*) https://$host%$1 permanent;
|
rewrite ^(.*) https://$host$1 permanent;
|
||||||
}
|
}
|
||||||
include %home%/%user%/conf/web/*nginx.%domain_idn%.conf_letsencrypt;
|
include %home%/%user%/conf/web/*nginx.%domain_idn%.conf_letsencrypt;
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,7 +2,7 @@ server {
|
||||||
listen %ip%:%proxy_port%;
|
listen %ip%:%proxy_port%;
|
||||||
server_name %domain_idn% %alias_idn%;
|
server_name %domain_idn% %alias_idn%;
|
||||||
location / {
|
location / {
|
||||||
rewrite ^(.*) https://$host%$1 permanent;
|
rewrite ^(.*) https://$host$1 permanent;
|
||||||
}
|
}
|
||||||
include %home%/%user%/conf/web/*nginx.%domain_idn%.conf_letsencrypt;
|
include %home%/%user%/conf/web/*nginx.%domain_idn%.conf_letsencrypt;
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,7 +2,7 @@ server {
|
||||||
listen %ip%:%proxy_port%;
|
listen %ip%:%proxy_port%;
|
||||||
server_name %domain_idn% %alias_idn%;
|
server_name %domain_idn% %alias_idn%;
|
||||||
location / {
|
location / {
|
||||||
rewrite ^(.*) https://$host%$1 permanent;
|
rewrite ^(.*) https://$host$1 permanent;
|
||||||
}
|
}
|
||||||
include %home%/%user%/conf/web/*nginx.%domain_idn%.conf_letsencrypt;
|
include %home%/%user%/conf/web/*nginx.%domain_idn%.conf_letsencrypt;
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,7 +2,7 @@ server {
|
||||||
listen %ip%:%proxy_port%;
|
listen %ip%:%proxy_port%;
|
||||||
server_name %domain_idn% %alias_idn%;
|
server_name %domain_idn% %alias_idn%;
|
||||||
location / {
|
location / {
|
||||||
rewrite ^(.*) https://$host%$1 permanent;
|
rewrite ^(.*) https://$host$1 permanent;
|
||||||
}
|
}
|
||||||
include %home%/%user%/conf/web/*nginx.%domain_idn%.conf_letsencrypt;
|
include %home%/%user%/conf/web/*nginx.%domain_idn%.conf_letsencrypt;
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,7 +2,7 @@ server {
|
||||||
listen %ip%:%proxy_port%;
|
listen %ip%:%proxy_port%;
|
||||||
server_name %domain_idn% %alias_idn%;
|
server_name %domain_idn% %alias_idn%;
|
||||||
location / {
|
location / {
|
||||||
rewrite ^(.*) https://$host%$1 permanent;
|
rewrite ^(.*) https://$host$1 permanent;
|
||||||
}
|
}
|
||||||
include %home%/%user%/conf/web/*nginx.%domain_idn%.conf_letsencrypt;
|
include %home%/%user%/conf/web/*nginx.%domain_idn%.conf_letsencrypt;
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,7 +2,7 @@ server {
|
||||||
listen %ip%:%proxy_port%;
|
listen %ip%:%proxy_port%;
|
||||||
server_name %domain_idn% %alias_idn%;
|
server_name %domain_idn% %alias_idn%;
|
||||||
location / {
|
location / {
|
||||||
rewrite ^(.*) https://$host%$1 permanent;
|
rewrite ^(.*) https://$host$1 permanent;
|
||||||
}
|
}
|
||||||
include %home%/%user%/conf/web/*nginx.%domain_idn%.conf_letsencrypt;
|
include %home%/%user%/conf/web/*nginx.%domain_idn%.conf_letsencrypt;
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,7 +2,7 @@ server {
|
||||||
listen %ip%:%proxy_port%;
|
listen %ip%:%proxy_port%;
|
||||||
server_name %domain_idn% %alias_idn%;
|
server_name %domain_idn% %alias_idn%;
|
||||||
location / {
|
location / {
|
||||||
rewrite ^(.*) https://$host%$1 permanent;
|
rewrite ^(.*) https://$host$1 permanent;
|
||||||
}
|
}
|
||||||
include %home%/%user%/conf/web/*nginx.%domain_idn%.conf_letsencrypt;
|
include %home%/%user%/conf/web/*nginx.%domain_idn%.conf_letsencrypt;
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,7 +2,7 @@ server {
|
||||||
listen %ip%:%proxy_port%;
|
listen %ip%:%proxy_port%;
|
||||||
server_name %domain_idn% %alias_idn%;
|
server_name %domain_idn% %alias_idn%;
|
||||||
location / {
|
location / {
|
||||||
rewrite ^(.*) https://$host%$1 permanent;
|
rewrite ^(.*) https://$host$1 permanent;
|
||||||
}
|
}
|
||||||
include %home%/%user%/conf/web/*nginx.%domain_idn%.conf_letsencrypt;
|
include %home%/%user%/conf/web/*nginx.%domain_idn%.conf_letsencrypt;
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,7 +2,7 @@ server {
|
||||||
listen %ip%:%proxy_port%;
|
listen %ip%:%proxy_port%;
|
||||||
server_name %domain_idn% %alias_idn%;
|
server_name %domain_idn% %alias_idn%;
|
||||||
location / {
|
location / {
|
||||||
rewrite ^(.*) https://$host%$1 permanent;
|
rewrite ^(.*) https://$host$1 permanent;
|
||||||
}
|
}
|
||||||
include %home%/%user%/conf/web/*nginx.%domain_idn%.conf_letsencrypt;
|
include %home%/%user%/conf/web/*nginx.%domain_idn%.conf_letsencrypt;
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,7 +2,7 @@ server {
|
||||||
listen %ip%:%proxy_port%;
|
listen %ip%:%proxy_port%;
|
||||||
server_name %domain_idn% %alias_idn%;
|
server_name %domain_idn% %alias_idn%;
|
||||||
location / {
|
location / {
|
||||||
rewrite ^(.*) https://$host%$1 permanent;
|
rewrite ^(.*) https://$host$1 permanent;
|
||||||
}
|
}
|
||||||
include %home%/%user%/conf/web/*nginx.%domain_idn%.conf_letsencrypt;
|
include %home%/%user%/conf/web/*nginx.%domain_idn%.conf_letsencrypt;
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,7 +2,7 @@ server {
|
||||||
listen %ip%:%proxy_port%;
|
listen %ip%:%proxy_port%;
|
||||||
server_name %domain_idn% %alias_idn%;
|
server_name %domain_idn% %alias_idn%;
|
||||||
location / {
|
location / {
|
||||||
rewrite ^(.*) https://%domain_idn%$1 permanent;
|
rewrite ^(.*) https://$host$1 permanent;
|
||||||
}
|
}
|
||||||
include %home%/%user%/conf/web/*nginx.%domain_idn%.conf_letsencrypt;
|
include %home%/%user%/conf/web/*nginx.%domain_idn%.conf_letsencrypt;
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,7 +2,7 @@ server {
|
||||||
listen %ip%:%proxy_port%;
|
listen %ip%:%proxy_port%;
|
||||||
server_name %domain_idn% %alias_idn%;
|
server_name %domain_idn% %alias_idn%;
|
||||||
location / {
|
location / {
|
||||||
rewrite ^(.*) https://%domain_idn%$1 permanent;
|
rewrite ^(.*) https://$host$1 permanent;
|
||||||
}
|
}
|
||||||
include %home%/%user%/conf/web/*nginx.%domain_idn%.conf_letsencrypt;
|
include %home%/%user%/conf/web/*nginx.%domain_idn%.conf_letsencrypt;
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,7 +2,7 @@ server {
|
||||||
listen %ip%:%proxy_port%;
|
listen %ip%:%proxy_port%;
|
||||||
server_name %domain_idn% %alias_idn%;
|
server_name %domain_idn% %alias_idn%;
|
||||||
location / {
|
location / {
|
||||||
rewrite ^(.*) https://%domain_idn%$1 permanent;
|
rewrite ^(.*) https://$host$1 permanent;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /app {
|
location /app {
|
||||||
|
|
|
@ -2,7 +2,7 @@ server {
|
||||||
listen %ip%:%proxy_port%;
|
listen %ip%:%proxy_port%;
|
||||||
server_name %domain_idn% %alias_idn%;
|
server_name %domain_idn% %alias_idn%;
|
||||||
location / {
|
location / {
|
||||||
rewrite ^(.*) https://%domain_idn%$1 permanent;
|
rewrite ^(.*) https://$host$1 permanent;
|
||||||
}
|
}
|
||||||
include %home%/%user%/conf/web/*nginx.%domain_idn%.conf_letsencrypt;
|
include %home%/%user%/conf/web/*nginx.%domain_idn%.conf_letsencrypt;
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,7 +2,7 @@ server {
|
||||||
listen %ip%:%proxy_port%;
|
listen %ip%:%proxy_port%;
|
||||||
server_name %domain_idn% %alias_idn%;
|
server_name %domain_idn% %alias_idn%;
|
||||||
location / {
|
location / {
|
||||||
rewrite ^(.*) https://%domain_idn%$1 permanent;
|
rewrite ^(.*) https://$host$1 permanent;
|
||||||
}
|
}
|
||||||
include %home%/%user%/conf/web/*nginx.%domain_idn%.conf_letsencrypt;
|
include %home%/%user%/conf/web/*nginx.%domain_idn%.conf_letsencrypt;
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,7 +2,7 @@ server {
|
||||||
listen %ip%:%proxy_port%;
|
listen %ip%:%proxy_port%;
|
||||||
server_name %domain_idn% %alias_idn%;
|
server_name %domain_idn% %alias_idn%;
|
||||||
location / {
|
location / {
|
||||||
rewrite ^(.*) https://%domain_idn%$1 permanent;
|
rewrite ^(.*) https://$host$1 permanent;
|
||||||
}
|
}
|
||||||
include %home%/%user%/conf/web/*nginx.%domain_idn%.conf_letsencrypt;
|
include %home%/%user%/conf/web/*nginx.%domain_idn%.conf_letsencrypt;
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,7 +2,7 @@ server {
|
||||||
listen %ip%:%proxy_port%;
|
listen %ip%:%proxy_port%;
|
||||||
server_name %domain_idn% %alias_idn%;
|
server_name %domain_idn% %alias_idn%;
|
||||||
location / {
|
location / {
|
||||||
rewrite ^(.*) https://%domain_idn%$1 permanent;
|
rewrite ^(.*) https://$host$1 permanent;
|
||||||
}
|
}
|
||||||
include %home%/%user%/conf/web/*nginx.%domain_idn%.conf_letsencrypt;
|
include %home%/%user%/conf/web/*nginx.%domain_idn%.conf_letsencrypt;
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,7 +2,7 @@ server {
|
||||||
listen %ip%:%proxy_port%;
|
listen %ip%:%proxy_port%;
|
||||||
server_name %domain_idn% %alias_idn%;
|
server_name %domain_idn% %alias_idn%;
|
||||||
location / {
|
location / {
|
||||||
rewrite ^(.*) https://%domain_idn%$1 permanent;
|
rewrite ^(.*) https://$host$1 permanent;
|
||||||
}
|
}
|
||||||
include %home%/%user%/conf/web/*nginx.%domain_idn%.conf_letsencrypt;
|
include %home%/%user%/conf/web/*nginx.%domain_idn%.conf_letsencrypt;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue