Maintenance Mode
-
If you're using nginx there is a sample configuration in the docs.
-
-
@pichalite said in Maintenance Mode:
@rod anythig in
public/templates
will be replaced every time you reload/restart NodeBB. Don't change it there. The actual source file is in/src/views/503.tpl
Those two files are so different! When I look at
src/views/503.tpl
I see a very minimal shell but when I look atpublic/503.tpl
it is vastly different. Where does the rest of the content come from between the source and the final product?Thank you.
-
@rod the file directly under
public
is a html file not a tpl filepublic/503.html
. this is displayed when the server returns a 503 error.The page displayed when the forum is set in maintenance mode is under
public/templates
. this is generated fromsrc/views/503.tpl
and is not an error... just a message saying that the admin has disabled access to the forum.