1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/hubzilla_ynh.git synced 2024-09-03 19:26:21 +02:00

Update nginx.conf

This commit is contained in:
ericgaspar 2022-04-05 22:11:31 +02:00
parent e8c181ea49
commit afbe95cff6

View file

@ -10,16 +10,18 @@ location __PATH__/ {
client_max_body_size 20m;
client_body_buffer_size 128k;
# Default indexes and catch-all
index index.php;
charset utf-8;
location ~* \.php${
try_files $uri =404;
fastcgi_pass unix:/var/run/php/php__PHPVERSION__-fpm-__NAME__.sock;
fastcgi_index index.php;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
location ~* \.php$
{
try_files $uri =404;
fastcgi_pass unix:/var/run/php/php__PHPVERSION__-fpm-__NAME__.sock;
fastcgi_index index.php;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
}
# make sure webfinger and other well known services aren't blocked