1
0
Fork 0
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:
ericgaspar 2022-02-26 20:58:51 +01:00
parent 9d91c33fe3
commit 27aa6dc7d6
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -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;