mirror of
https://github.com/YunoHost-Apps/moncycle_ynh.git
synced 2024-09-03 19:46:16 +02:00
Test
This commit is contained in:
parent
d6639ad3bb
commit
b048da14c7
1 changed files with 2 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
|||
location __PATH__/ {
|
||||
|
||||
# Path to source
|
||||
root __INSTALL_DIR__/;
|
||||
alias __INSTALL_DIR__/;
|
||||
|
||||
# Deny access to hidden files and directories
|
||||
location ~ ^/(.+/|)\.(?!well-known\/) {
|
||||
|
@ -27,6 +27,7 @@ location __PATH__/ {
|
|||
|
||||
# Default indexes and catch-all
|
||||
rewrite ^/(connexion|compte)$ /$1.html;
|
||||
rewrite ^/api/([a-zA-Z0-9_]+)(\?.*)?$ /api/$1.php$2;
|
||||
index index.php index.html;
|
||||
try_files $uri $uri/ $uri.php?$args;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue