Add self-contained maintenance web page #60

Merged
raucao merged 6 commits from feature/maintenance_page into master 2019-05-07 14:53:23 +00:00
Showing only changes of commit 1ee2b5ad41 - Show all commits

View File

@@ -35,6 +35,11 @@ server {
add_header Strict-Transport-Security "max-age=31536000";
location / {
# If the maintenance file is present, show maintenance page
if (-f <%= @mastodon_path %>/public/maintenance.html) {
return 503;
}
try_files $uri @proxy;
}