mirror of
https://github.com/YunoHost-Apps/my_webapp_ynh.git
synced 2024-09-03 19:46:26 +02:00
commit
6c3615e5b5
1 changed files with 4 additions and 0 deletions
|
@ -1,6 +1,10 @@
|
||||||
location __PATH__ {
|
location __PATH__ {
|
||||||
alias __FINALPATH__/www/;
|
alias __FINALPATH__/www/;
|
||||||
|
|
||||||
|
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