Commit Graph

5 Commits

Author SHA1 Message Date
Jose Diaz-Gonzalez 89196adbf1 feat: allow overriding default 404 response with custom file
This allows folks the ability to restore the previous routing functionality used by static sites backed by VueJS (as an example).

Note that all requests routed this way will respond with a '200 OK' on the server, potentially causing SEO issues.

Closes #53
2022-08-07 19:10:31 -04:00
Zach Ahn 6672b6257a
Respond with a 404 when the file doesn't exist
Prior to this, I was seeing the successful HTTP status 200 when
requesting files that did not exist.

With this change, the server sends back Nginx's default 404 page instead
of the home page.
2021-12-02 22:19:05 -05:00
Jose Diaz-Gonzalez 0d2e4c3ee6
feat: use charset utf-8 by default
Closes #40
2020-06-11 15:33:31 -04:00
Effy Elden 6ecc56df72
Add port_in_redirect directive to NGINX configuration template 2017-04-15 00:29:37 +10:00
Jose Diaz-Gonzalez dd3ac20c6d Switch template to app-nginx.conf.sigil 2016-09-20 01:38:50 -06:00