redirects

master
Matthew 2024-12-21 23:45:50 -05:00
parent 7245acff4c
commit b3929254ab
Signed by: matthew
SSH Key Fingerprint: SHA256:piIXekA9q1p0ZGi4ogFbNY1embip5Ytbi3v8AZ8UYq4
1 changed files with 3 additions and 8 deletions

View File

@ -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;
}
@ -34,6 +28,7 @@ server {
log_not_found off;
}
location = /robots.txt {
allow all;
log_not_found off;