mirror of
https://github.com/YunoHost-Apps/2FAuth_ynh.git
synced 2024-09-03 20:36:18 +02:00
Update nginx.conf
This commit is contained in:
parent
fdf64fc157
commit
6199ec901b
1 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
location / {
|
||||
|
||||
# Path to source
|
||||
alias __FINALPATH__/public/;
|
||||
root __FINALPATH__/public/;
|
||||
|
||||
index index.php;
|
||||
|
||||
|
@ -14,7 +14,7 @@ location / {
|
|||
|
||||
error_page 404 /index.php;
|
||||
|
||||
try_files $uri $uri/ /index.php;
|
||||
try_files $uri $uri/ /index.php?$query_string;
|
||||
|
||||
location ~ [^/]\.php(/|$) {
|
||||
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
|
||||
|
|
Loading…
Reference in a new issue