1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/garradin_ynh.git synced 2024-09-03 18:36:17 +02:00

Update nginx.conf

This commit is contained in:
frju365 2017-01-28 23:23:31 +01:00 committed by GitHub
parent 467392b00c
commit b9a1a2540c

View file

@ -1,5 +1,5 @@
location YNH_WWW_PATH { location YNH_WWW_PATH {
alias YNH_WWW_ALIAS/www/ ; alias YNH_WWW_ALIASwww/ ;
if ($scheme = http) { if ($scheme = http) {
rewrite ^ https://$server_name$request_uri? permanent; rewrite ^ https://$server_name$request_uri? permanent;
} }