mirror of
https://github.com/YunoHost-Apps/yourls_ynh.git
synced 2024-09-03 20:35:59 +02:00
Update nginx.conf
This commit is contained in:
parent
9d91c33fe3
commit
27aa6dc7d6
1 changed files with 3 additions and 2 deletions
|
@ -6,7 +6,8 @@ location __PATH__/ {
|
|||
|
||||
index index.php index.html index.htm;
|
||||
|
||||
try_files $uri $uri/ index.php;
|
||||
try_files $uri $uri/ __PATH__/yourls-loader.php$is_args$args;
|
||||
|
||||
location ~ [^/]\.php(/|$) {
|
||||
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
|
||||
fastcgi_pass unix:/var/run/php/php__PHPVERSION__-fpm-__NAME__.sock;
|
||||
|
|
Loading…
Reference in a new issue