Commit 28c9bda3 authored by Cédric F.'s avatar Cédric F.

Remove unused maintenance page

parent 71ab596c
......@@ -49,25 +49,15 @@ http {
ssl_stapling on;
ssl_stapling_verify on;
# add_header Strict-Transport-Security "max-age=63072000; includeSubDomains; preload";
add_header Strict-Transport-Security "max-age=63072000; includeSubDomains; preload";
add_header X-Frame-Options DENY;
add_header X-Content-Type-Options nosniff;
add_header X-XSS-Protection "1; mode=block";
# limit_req zone=default burst=10; # disabled for benchmarking
error_page 502 @maintenance;
root public;
location @maintenance {
if (!-f $request_filename) {
rewrite ^(.*)$ /maintenance.html break;
}
return 200;
}
location /assets/ {
break;
}
......
......@@ -152,7 +152,7 @@
}
});
// Hook {Ctrl,Cmd}+F to our search bar
// hook {Ctrl,Cmd}+F to our search bar
// XXX: not done in Elm because we cannot call preventDefault() in Elm
window.addEventListener('keydown', (e) => {
if ((e.ctrlKey || e.metaKey) && (String.fromCharCode(e.which).toLowerCase() === 'f')) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment