mirror of
https://github.com/YunoHost-Apps/my_webapp_ynh.git
synced 2024-09-03 19:46:26 +02:00
commit
a1523db4f1
1 changed files with 4 additions and 0 deletions
|
@ -1,5 +1,9 @@
|
|||
location __PATH__ {
|
||||
alias __FINALPATH__/www/;
|
||||
|
||||
if ($scheme = http) {
|
||||
rewrite ^ https://$server_name$request_uri? permanent;
|
||||
}
|
||||
|
||||
# Default indexes and catch-all
|
||||
index index.html index.php;
|
||||
|
|
Loading…
Add table
Reference in a new issue