OPNsense Forum

English Forums => Development and Code Review => Topic started by: Oxima69 on August 31, 2020, 06:04:22 pm

Title: Nginx Plugin: maintenance page
Post by: Oxima69 on August 31, 2020, 06:04:22 pm
hello,

i'am looking for a simple way to set a maintenance page individually per http server.
has someone already built something like this ? Is this only possible with the custom include ?

thanks
Title: Re: Nginx Plugin: maintenance page
Post by: fabian on August 31, 2020, 07:16:44 pm
nginx can serve HTML pages out of the box. So you only need to replace the location blocks set up in the http server.

If that doesn't work, you can use the include hooks already present.
Title: Re: Nginx Plugin: maintenance page
Post by: Oxima69 on September 05, 2020, 11:51:06 am
Okay, of course.
Thanks