mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-23 13:33:18 +00:00
commit
8b7963b30c
1 changed files with 1 additions and 0 deletions
|
@ -30,6 +30,7 @@ server {
|
||||||
|
|
||||||
location ~ \.php$ {
|
location ~ \.php$ {
|
||||||
fastcgi_split_path_info ^(.+\.php)(/.+)$;
|
fastcgi_split_path_info ^(.+\.php)(/.+)$;
|
||||||
|
try_files $fastcgi_script_name =404;
|
||||||
fastcgi_pass unix:/run/php-fpm/php-fpm.sock; # make sure this is correct
|
fastcgi_pass unix:/run/php-fpm/php-fpm.sock; # make sure this is correct
|
||||||
fastcgi_index index.php;
|
fastcgi_index index.php;
|
||||||
include fastcgi_params;
|
include fastcgi_params;
|
||||||
|
|
Loading…
Reference in a new issue