roschaefer d6b7374ddb Change strategy, only build docker image
I couldnt' get the local build to run with the alternative
`nuxt.config.js`. So I'm building docker only now.
2019-09-11 08:43:26 +02:00

24 lines
461 B
Plaintext

server {
listen 80;
server_name localhost;
root /usr/share/nginx/html;
index index.html;
# location / {
# try_files $uri $uri/ /index.html;
# }
location ~* \.(?:css|js|map|jpe?g|gif|png|svg|woff|ico)$ { }
location / {
if (-f $document_root/index.html) {
return 503;
}
}
error_page 503 @maintenance;
location @maintenance {
rewrite ^(.*)$ /index.html break;
}
}