+ Page not found +
+Page not found on the web server. If you think this is a mistake, please + report an issue.
+diff --git a/nginx/server.conf b/nginx/server.conf index 48d4b306..776c5435 100644 --- a/nginx/server.conf +++ b/nginx/server.conf @@ -24,6 +24,7 @@ server { server_name grapheneos.org; root /var/www/html; + error_page 404 /404.html; charset utf-8; include /etc/nginx/snippets/security-headers.conf; @@ -65,6 +66,10 @@ server { default_type text/plain; } + location = /404.html { + internal; + } + location ~ "\.(ico|webmanifest)$" { include /etc/nginx/snippets/security-headers.conf; add_header Cache-Control "public, max-age=604800"; diff --git a/static/404.html b/static/404.html new file mode 100644 index 00000000..7b8d87ff --- /dev/null +++ b/static/404.html @@ -0,0 +1,55 @@ + + +
+ +Page not found on the web server. If you think this is a mistake, please + report an issue.
+