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
3d15eadcca
commit
f54df2e07d
1 changed files with 4 additions and 5 deletions
|
@ -7,7 +7,10 @@ location / {
|
|||
|
||||
#client_max_body_size 50M;
|
||||
|
||||
try_files $uri $uri/ @__NAME__;
|
||||
location = /favicon.ico { access_log off; log_not_found off; }
|
||||
location = /robots.txt { access_log off; log_not_found off; }
|
||||
|
||||
try_files $uri $uri/ /index.php;
|
||||
|
||||
location ~ [^/]\.php(/|$) {
|
||||
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
|
||||
|
@ -20,7 +23,3 @@ location / {
|
|||
fastcgi_param SCRIPT_FILENAME $request_filename;
|
||||
}
|
||||
}
|
||||
|
||||
location @__NAME__ {
|
||||
rewrite /(.*)$ /index.php?title=$1&$args;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue