7dbd625ff2
Nginx fails to start when the 'backend' upstream doesn't exist. Standalone build now copies a minimal nginx config that only serves the SPA.
12 lines
205 B
Plaintext
12 lines
205 B
Plaintext
server {
|
|
listen 80;
|
|
server_name _;
|
|
root /usr/share/nginx/html;
|
|
index index.html;
|
|
|
|
# SPA fallback — no backend proxy
|
|
location / {
|
|
try_files $uri $uri/ /index.html;
|
|
}
|
|
}
|