mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-12 23:35:58 +00:00
I couldnt' get the local build to run with the alternative `nuxt.config.js`. So I'm building docker only now.
24 lines
461 B
Plaintext
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;
|
|
}
|
|
}
|