fix: change nginx root to standard /usr/share/nginx/html to resolve 404
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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"
|
|
||||||
|
|||||||
Reference in New Issue
Block a user