fixed asset paths

This commit is contained in:
Adam Piontek 2021-08-02 17:48:22 -04:00
parent e8b2b5656e
commit 61c6602918
11 changed files with 37 additions and 48 deletions

View file

@ -7,3 +7,29 @@ Builds html & css that can be used as custom error pages with, e.g., nginx.
## NOTE
After production build, optionally remove the app.js script tags from the built files, just to optimize things further.
### nginx example
This could probably be optimized but it's working:
```
# Custom Unicorn Rainbow error pages
location /err_css {
root /var/www/err;
autoindex off;
expires max;
}
location /err_images {
root /var/www/err;
autoindex off;
expires max;
}
error_page 403 404 /40x.html;
location = /40x.html {
root /var/www/err;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /var/www/err;
}
```