mirror of
https://github.com/YunoHost-Apps/agendav_ynh.git
synced 2024-09-03 20:36:12 +02:00
[doc] add a if-is-evil warning to the nginx workaround
This commit is contained in:
parent
bed6d4e8b2
commit
89c450aed1
1 changed files with 3 additions and 0 deletions
|
@ -16,6 +16,9 @@ location {PATH}/ {
|
|||
# break;
|
||||
# }
|
||||
# rewrite (.*) {LOCATION}/index.php$request_uri;
|
||||
#
|
||||
# But remember that if-is-evil :
|
||||
# https://www.nginx.com/resources/wiki/start/topics/tutorials/config_pitfalls/#check-if-file-exists
|
||||
|
||||
location ~ ^{PATH}/index\.php(/|$) {
|
||||
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
|
||||
|
|
Loading…
Add table
Reference in a new issue