redirects
parent
7245acff4c
commit
b3929254ab
|
@ -18,14 +18,8 @@ server {
|
||||||
|
|
||||||
location ~ \.php$ {
|
location ~ \.php$ {
|
||||||
include fastcgi_params;
|
include fastcgi_params;
|
||||||
fastcgi_intercept_errors on;
|
fastcgi_pass unix:/run/php/wordpress.sock; # Matches the PHP-FPM socket
|
||||||
|
fastcgi_index index.php;
|
||||||
# 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_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -33,6 +27,7 @@ server {
|
||||||
expires max;
|
expires max;
|
||||||
log_not_found off;
|
log_not_found off;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
location = /robots.txt {
|
location = /robots.txt {
|
||||||
allow all;
|
allow all;
|
||||||
|
|
Loading…
Reference in New Issue