1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/agendav_ynh.git synced 2024-09-03 20:36:12 +02:00

[enh] Micro optimize the try_files parameter list

This commit is contained in:
Julien Malik 2016-08-30 10:52:34 +02:00
parent c1ed4cfa78
commit bed6d4e8b2

View file

@ -8,7 +8,7 @@ location {PATH}/ {
# The seemingly weird syntax is due to a long-standing bug in nginx,
# see: https://trac.nginx.org/nginx/ticket/97
try_files $uri $uri/ {PATH}/{PATH}/index.php$is_args$args;
try_files $uri {PATH}/{PATH}/index.php$is_args$args;
# Another alternative to the weird try_files is to use a rewrite, like this :
#