its 7am i havent slept i have no idea
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
server {
|
||||
listen 80;
|
||||
server_name localhost; # host header (not used locally)
|
||||
server_name _; # host header (not used locally)
|
||||
root /var/www/html/public; # Symfony's public/ dir (front controller)
|
||||
|
||||
location / {
|
||||
@@ -11,7 +11,7 @@ server {
|
||||
location ~ \.php$ {
|
||||
# Forward PHP requests to php-fpm service
|
||||
include fastcgi_params;
|
||||
fastcgi_pass php:9000;
|
||||
fastcgi_pass tonehaus:9000;
|
||||
# Use resolved path to avoid path traversal issues
|
||||
fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
|
||||
fastcgi_param DOCUMENT_ROOT $realpath_root;
|
||||
|
||||
Reference in New Issue
Block a user