File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -43,14 +43,13 @@ server {
4343
4444 # Deny access to protected directories across all instances
4545 location ~ /(typo3conf|var|config)/ {
46- deny all;
4746 return 403;
4847 }
4948
5049 # PHP-FPM for all .php files including subdirectories
5150 location ~ \.php$ {
5251 include fastcgi_params;
53- fastcgi_pass unix:/run/php/php-fpm.sock;
52+ fastcgi_pass unix:/run/php/php-fpm.sock; # adjust to match your PHP-FPM pool socket
5453 fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
5554 try_files $uri =404;
5655 }
@@ -79,7 +78,7 @@ server {
7978
8079 location ~ \.php$ {
8180 include fastcgi_params;
82- fastcgi_pass unix:/run/php/php-fpm.sock;
81+ fastcgi_pass unix:/run/php/php-fpm.sock; # adjust to match your PHP-FPM pool socket
8382 fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
8483 try_files $uri =404;
8584 }
You can’t perform that action at this time.
0 commit comments