mirror of
https://github.com/YunoHost-Apps/my_webapp_ynh.git
synced 2024-09-03 19:46:26 +02:00
[fix] Do not force HTTPS until Let's Encrypt is supported at least
This commit is contained in:
parent
df47382a4b
commit
b0ffe1939e
1 changed files with 0 additions and 5 deletions
|
@ -1,11 +1,6 @@
|
|||
location {LOCATION} {
|
||||
alias {DESTDIR}/www/;
|
||||
|
||||
# Force HTTPS
|
||||
if ($scheme = http) {
|
||||
rewrite ^ https://$server_name$request_uri? permanent;
|
||||
}
|
||||
|
||||
# Default indexes and catch-all
|
||||
index index.html index.php;
|
||||
try_files $uri $uri/ {PATH}/index.php?$args;
|
||||
|
|
Loading…
Add table
Reference in a new issue