Changes to nginx conf for podman pod

develop
Nathan Steel 4 weeks ago
parent fcc7b6d7f4
commit 14c74ccaec

@ -1,8 +1,9 @@
server { server {
listen 80 default_server; listen 80 default_server;
server_name localhost aLeaf.local; server_name localhost aleaf.local;
root /var/www/html/website/public; root /var/www/html/website/public;
index index.php index.html; index index.php index.html;
error_log /var/log/nginx/error.log; error_log /var/log/nginx/error.log;
@ -18,7 +19,7 @@ server {
location ~ \.php$ { location ~ \.php$ {
include fastcgi_params; include fastcgi_params;
fastcgi_pass php:9000; fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php; fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param PATH_INFO $fastcgi_path_info; fastcgi_param PATH_INFO $fastcgi_path_info;
@ -26,6 +27,8 @@ server {
} }
# php:9000
# Add a second, third, etc site like below # Add a second, third, etc site like below
# server { # server {
# listen 80; # Listening port, keep 80 # listen 80; # Listening port, keep 80

Loading…
Cancel
Save