1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/my_webapp_ynh.git synced 2024-09-03 19:46:26 +02:00

Merge pull request #25 from YunoHost-Apps/testing

Testing
This commit is contained in:
Maniack Crudelis 2018-04-17 21:23:27 +02:00 committed by GitHub
commit 6c3615e5b5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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