You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`NGINX_MAINTENANCE_TYPE`| Serve `local` file or `redirect` or `proxy` to a URL |`local`||
217
+
|`NGINX_MAINTENANCE_PATH`| (local) Path where the maintenance page resides |`/container/data/nginx/maintenance`||
218
+
|`NGINX_MAINTENANCE_FILE`| (local) File to load while in maintenance mode |`index.html`||
219
+
|`NGINX_MAINTENANCE_REMOTE_URL`| (local) If you wish to download an html file from a |||
220
+
|| remote location to overwrite the above enter the URL here |||
221
+
|`NGINX_MAINTENANCE_PROXY_URL`| What url eg `https://example.com` to transparently proxy for |||
222
+
|| the user when they visit the site |`http://maintenance`||
223
+
|`NGINX_MAINTENANCE_REDIRECT_URL`| What url eg `https://example.com` to redirect |||
224
+
|| in a uers browser when they visit the site |||
225
225
226
226
You can also enter into the container and type `maintenance ARG`, where ARG is either `ON`,`OFF`, or `SLEEP (seconds)` which will temporarily place the site in maintenance mode and then restore it back to normal after time has passed.
0 commit comments