mirror of
https://github.com/YunoHost-Apps/agendav_ynh.git
synced 2024-09-03 20:36:12 +02:00
Document another workaround for the nginx bug 97
This commit is contained in:
parent
c7b611bf51
commit
fdc915a27f
1 changed files with 7 additions and 0 deletions
|
@ -10,6 +10,13 @@ location {PATH}/ {
|
|||
# see: https://trac.nginx.org/nginx/ticket/97
|
||||
try_files $uri $uri/ {PATH}/{PATH}/index.php$is_args$args;
|
||||
|
||||
# Another alternative to the weird try_files is to use a rewrite, like this :
|
||||
#
|
||||
# if (-f $request_filename) {
|
||||
# break;
|
||||
# }
|
||||
# rewrite (.*) {LOCATION}/index.php$request_uri;
|
||||
|
||||
location ~ ^{PATH}/index\.php(/|$) {
|
||||
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
|
||||
fastcgi_pass unix:/var/run/php5-fpm-agendav.sock;
|
||||
|
|
Loading…
Add table
Reference in a new issue