Actualizar nixpacks.toml
This commit is contained in:
@@ -6,7 +6,6 @@ cmds = ["bunx vite build"]
|
|||||||
|
|
||||||
[phases.start]
|
[phases.start]
|
||||||
cmds = [
|
cmds = [
|
||||||
"cp -r dist/* /usr/share/nginx/html",
|
|
||||||
"cat <<'EOF' > /etc/nginx/conf.d/default.conf\nserver {\n listen 80;\n server_name _;\n\n root /usr/share/nginx/html;\n index index.html;\n\n location / {\n try_files $uri $uri/ /index.html;\n }\n}\nEOF",
|
"cat <<'EOF' > /etc/nginx/conf.d/default.conf\nserver {\n listen 80;\n server_name _;\n\n root /usr/share/nginx/html;\n index index.html;\n\n location / {\n try_files $uri $uri/ /index.html;\n }\n}\nEOF",
|
||||||
"nginx -g 'daemon off;'"
|
"nginx -g 'daemon off;'"
|
||||||
]
|
]
|
||||||
Reference in New Issue
Block a user