1
0
Fork 0
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:
Jérôme Lebleu 2016-05-23 12:35:48 +02:00
parent df47382a4b
commit b0ffe1939e

View file

@ -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;