mirror of
https://github.com/YunoHost-Apps/my_webapp_ynh.git
synced 2024-09-03 19:46:26 +02:00
Remove force usage of https
This commit is contained in:
parent
e9ea6b48a5
commit
14f2a9ac0f
2 changed files with 0 additions and 10 deletions
|
@ -4,11 +4,6 @@ location __PATH__/ {
|
||||||
# Path to source
|
# Path to source
|
||||||
alias __FINALPATH__/www/;
|
alias __FINALPATH__/www/;
|
||||||
|
|
||||||
# Force usage of https
|
|
||||||
if ($scheme = http) {
|
|
||||||
rewrite ^ https://$server_name$request_uri? permanent;
|
|
||||||
}
|
|
||||||
|
|
||||||
# Default indexes and catch-all
|
# Default indexes and catch-all
|
||||||
index index.html index.php;
|
index index.html index.php;
|
||||||
try_files $uri $uri/ __PATH__/index.php?$args;
|
try_files $uri $uri/ __PATH__/index.php?$args;
|
||||||
|
|
|
@ -4,11 +4,6 @@ location __PATH__/ {
|
||||||
# Path to source
|
# Path to source
|
||||||
alias __FINALPATH__/www/;
|
alias __FINALPATH__/www/;
|
||||||
|
|
||||||
# Force usage of https
|
|
||||||
if ($scheme = http) {
|
|
||||||
rewrite ^ https://$server_name$request_uri? permanent;
|
|
||||||
}
|
|
||||||
|
|
||||||
# Default indexes and catch-all
|
# Default indexes and catch-all
|
||||||
index index.html index.php;
|
index index.html index.php;
|
||||||
try_files $uri $uri/ __PATH__/index.php?$args;
|
try_files $uri $uri/ __PATH__/index.php?$args;
|
||||||
|
|
Loading…
Add table
Reference in a new issue