Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
Development and Code Review
(Moderator:
fabian
) »
Nginx Plugin: maintenance page
« previous
next »
Print
Pages: [
1
]
Author
Topic: Nginx Plugin: maintenance page (Read 2267 times)
Oxima69
Newbie
Posts: 23
Karma: 0
Nginx Plugin: maintenance page
«
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
Logged
fabian
Moderator
Hero Member
Posts: 2769
Karma: 200
OPNsense Contributor (Language, VPN, Proxy, etc.)
Re: Nginx Plugin: maintenance page
«
Reply #1 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.
Logged
Oxima69
Newbie
Posts: 23
Karma: 0
Re: Nginx Plugin: maintenance page
«
Reply #2 on:
September 05, 2020, 11:51:06 am »
Okay, of course.
Thanks
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
Development and Code Review
(Moderator:
fabian
) »
Nginx Plugin: maintenance page