fix: change nginx root to standard /usr/share/nginx/html to resolve 404

This commit is contained in:
mstfyldz
2026-05-04 23:40:30 +03:00
parent 3e3e327e03
commit e4685289f7
3 changed files with 4 additions and 5 deletions

View File

@@ -1,7 +1,7 @@
server { server {
listen 80; listen 80;
server_name _; server_name _;
root /app; root /usr/share/nginx/html;
index index.html; index index.html;
# GZIP Compression # GZIP Compression

View File

@@ -1,7 +1,7 @@
server { server {
listen 80; listen 80;
server_name _; server_name _;
root /app; root /usr/share/nginx/html;
index index.html index.php; index index.html index.php;
# GZIP Compression # GZIP Compression

View File

@@ -1,3 +1,2 @@
[variables] # Nixpacks configuration
NIXPACKS_PHP_ROOT_DIR = "/app" # Letting Nixpacks decide the best way to build, but keeping it as a reference.
NIXPACKS_PHP_FALLBACK_PATH = "/index.html"