Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
20.1 Legacy Series
»
OPNsense + Nginx Reverse Proxy + Custom 404,403 50x Error Pages
« previous
next »
Print
Pages: [
1
]
Author
Topic: OPNsense + Nginx Reverse Proxy + Custom 404,403 50x Error Pages (Read 2115 times)
SkeelKat
Newbie
Posts: 30
Karma: 0
OPNsense + Nginx Reverse Proxy + Custom 404,403 50x Error Pages
«
on:
April 29, 2020, 08:26:13 am »
I have OPNsense 20.1.4-amd64 running with os-nginx 1.19 installed and working 100%
Certain HTTPS servers are restricted by IP ACL's, which also works great.
Is there anyway to configure a custom 403 Forbidden page when a HTTP/S requested is rejected based on the IP ACL?
Logged
fabian
Hero Member
Posts: 2769
Karma: 200
OPNsense Contributor (Language, VPN, Proxy, etc.)
Re: OPNsense + Nginx Reverse Proxy + Custom 404,403 50x Error Pages
«
Reply #1 on:
April 29, 2020, 09:39:00 pm »
Maybe you can get that done by a custom include but it does not work with the web interface. You can see the include in the generated configuration.
See /usr/local/etc/nginx/nginx.conf
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
20.1 Legacy Series
»
OPNsense + Nginx Reverse Proxy + Custom 404,403 50x Error Pages