Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
Web Proxy Filtering and Caching
(Moderator:
fabian
) »
NGINX not working
« previous
next »
Print
Pages: [
1
]
Author
Topic: NGINX not working (Read 3272 times)
norbo80
Newbie
Posts: 21
Karma: 0
NGINX not working
«
on:
September 14, 2021, 03:58:59 pm »
Hello dear Community.
I'm noobie with OPNSense and trying to configure Nginx. Unfortunatelly i can't get it working. MY config:
FW GUI Port http/https changed to 8333
General
- Enable nginx: Checked
Upstream Server
- Description: myserver_server
- Server: 192.168.x.y
- Port: 5433
- Server Priority: 1
- other settings: default
Upstream
- Description: myserver_upstream
- Server Entries: myserver_server
- other settings: default
HTTP(S): Location
- Description: myserver_location
- URL Pattern: /
- Match Type: None
- Upstream Servers: myserver_upstream
- other settings: default
HTTP Server
- HTTP Listen Port: 80
- HTTPS Listen Port: 443
- Server Name: mysite.mydomain.com
- Location: myserver_location
- TLS Certificate: mysite.mydomain.com (ACME Client)
- other settings: default
I also have setup a firewall rule to allow WAN traffic port 80 and 443 from any source to “this firewall”
Logging shows that the https request from the internet to
https://mysite.mydomain.com/
is passed, however nginx does not show anything in the HTTP(s) logs
Error MSG:
Server Error
Sorry, but something went wrong on our side.
There is nothing you can do except waiting until we fix the issue.
Web Application Protection by OPNsense
I'll appreciate any help.
Thank You.
Logged
fabian
Moderator
Hero Member
Posts: 2769
Karma: 200
OPNsense Contributor (Language, VPN, Proxy, etc.)
Re: NGINX not working
«
Reply #1 on:
September 14, 2021, 08:27:48 pm »
The config looks right so there might be a problem that you did not reload your config.
Otherwise there might be something in the error log.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
Web Proxy Filtering and Caching
(Moderator:
fabian
) »
NGINX not working