From 14c74ccaec430f796026446472bab67e2cb44abf Mon Sep 17 00:00:00 2001 From: Nathan Steel Date: Mon, 9 Mar 2026 20:39:20 +0000 Subject: [PATCH] Changes to nginx conf for podman pod --- nginx/default.conf | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/nginx/default.conf b/nginx/default.conf index 891c271..227d7e2 100644 --- a/nginx/default.conf +++ b/nginx/default.conf @@ -1,8 +1,9 @@ server { listen 80 default_server; - server_name localhost aLeaf.local; + server_name localhost aleaf.local; root /var/www/html/website/public; + index index.php index.html; error_log /var/log/nginx/error.log; @@ -18,7 +19,7 @@ server { location ~ \.php$ { include fastcgi_params; - fastcgi_pass php:9000; + fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_param PATH_INFO $fastcgi_path_info; @@ -26,6 +27,8 @@ server { } +# php:9000 + # Add a second, third, etc site like below # server { # listen 80; # Listening port, keep 80