diff --git a/Nginx/Server Blocks/libraryofcode.org.conf b/Nginx/Server Blocks/libraryofcode.org.conf index 2c7a6cc..84e7030 100644 --- a/Nginx/Server Blocks/libraryofcode.org.conf +++ b/Nginx/Server Blocks/libraryofcode.org.conf @@ -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;