fix: change nginx root to standard /usr/share/nginx/html to resolve 404
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
server {
|
||||
listen 80;
|
||||
server_name _;
|
||||
root /app;
|
||||
root /usr/share/nginx/html;
|
||||
index index.html;
|
||||
|
||||
# GZIP Compression
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
server {
|
||||
listen 80;
|
||||
server_name _;
|
||||
root /app;
|
||||
root /usr/share/nginx/html;
|
||||
index index.html index.php;
|
||||
|
||||
# GZIP Compression
|
||||
|
||||
@@ -1,3 +1,2 @@
|
||||
[variables]
|
||||
NIXPACKS_PHP_ROOT_DIR = "/app"
|
||||
NIXPACKS_PHP_FALLBACK_PATH = "/index.html"
|
||||
# Nixpacks configuration
|
||||
# Letting Nixpacks decide the best way to build, but keeping it as a reference.
|
||||
|
||||
Reference in New Issue
Block a user