redirects
parent
7245acff4c
commit
b3929254ab
|
@ -18,14 +18,8 @@ server {
|
|||
|
||||
location ~ \.php$ {
|
||||
include fastcgi_params;
|
||||
fastcgi_intercept_errors on;
|
||||
|
||||
# Point to PHP 8.1-FPM socket
|
||||
fastcgi_pass unix:/run/php/php8.1-fpm.sock;
|
||||
|
||||
# Alternatively, use a TCP address if configured:
|
||||
# fastcgi_pass 127.0.0.1:9000;
|
||||
|
||||
fastcgi_pass unix:/run/php/wordpress.sock; # Matches the PHP-FPM socket
|
||||
fastcgi_index index.php;
|
||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||
}
|
||||
|
||||
|
@ -33,6 +27,7 @@ server {
|
|||
expires max;
|
||||
log_not_found off;
|
||||
}
|
||||
|
||||
|
||||
location = /robots.txt {
|
||||
allow all;
|
||||
|
|
Loading…
Reference in New Issue