update nginx conf

This commit is contained in:
2026-06-06 15:07:55 +07:00
parent 9c4e732af3
commit fddf5398fc
+2 -2
View File
@@ -1,7 +1,7 @@
server { server {
listen 80; listen 80;
server_name _; server_name _;
root /var/www/html/public; root /var/www/html;
location / { location / {
try_files $uri /index.php?$query_string; try_files $uri /index.php?$query_string;
@@ -9,7 +9,7 @@ server {
location ~ \.php$ { location ~ \.php$ {
fastcgi_pass app:9000; fastcgi_pass app:9000;
fastcgi_param SCRIPT_FILENAME /var/www/html/public$fastcgi_script_name; fastcgi_param SCRIPT_FILENAME /var/www/html$fastcgi_script_name;
include fastcgi_params; include fastcgi_params;
} }