Skip to content
Snippets Groups Projects
Verified Commit f40c23c0 authored by Giancarlo Razzolini's avatar Giancarlo Razzolini
Browse files

docs/maintenance: Add section on custom nginx template

Added some documentation regarding the service_nginx_template variable and the implications of
using it.
parent bf685347
No related branches found
No related tags found
No related merge requests found
......@@ -46,3 +46,12 @@ as a variable, to make sure the right file is used.
This causes the regular nginx configuration to only be applied when there is no maintenance variable
on the command line.
# Adding a custom maintenance mode nginx template
The maintenance role can also use a custom nginx template, if the service_nginx_template variable is
set alongside the other vars when including the maintenance role, it will look up first on the maintenance
role template directory and then on the calling role template directory for the specified template.
Since this is a completely custom file, it is the job of this file of putting the service into maintenance
mode. The maintenance role will provide the 503 file and create the directories.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment