Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
19.1 Legacy Series
»
nginx reverse Proxy help - example needed
« previous
next »
Print
Pages: [
1
]
Author
Topic: nginx reverse Proxy help - example needed (Read 2825 times)
vikozo
Full Member
Posts: 211
Karma: 5
nginx reverse Proxy help - example needed
«
on:
June 20, 2019, 08:13:35 am »
Hello
i have my Own DNS/WEB/Mail Server behind opnSense (DMZ).
All the Service are on a singel-VM. Testpage
www.kozo.ch
I solved this with NAT port forwarding an some rules in the Firewall too, and it works.
Now on another VM i installed Gitlab with a Privat IP of the DMZ Range - from the LAN it works fine so far.
the wish is to make it open reachable like
gitlab.kozo.ch
my idea is to use in opnSense the nginx Reverse Proxy to use. But can't find out how the outside-world should get the connection.
In Services: Nginx: Configuration Upstream Server i did just add the privat-IP of the VM and port 80
but i can't find out how to go further, any help please
- - - - -- - - - -
Versions
OPNsense 19.1.9-amd64
FreeBSD 11.2-RELEASE-p10-HBSD
LibreSSL 2.8.3
Logged
apu2c4 / wle200nx / 240 Disk
--> Firewall | FW-03
---
OPNsense 22.1.6-amd64
FreeBSD 13.0-STABLE
OpenSSL 1.1.1n 15 Mar 2022
fabian
Hero Member
Posts: 2769
Karma: 200
OPNsense Contributor (Language, VPN, Proxy, etc.)
Re: nginx reverse Proxy help - example needed
«
Reply #1 on:
June 20, 2019, 08:51:22 am »
create an upstream, then add the upstream to a location, and then add the location to a HTTP server. Then reload the server and it should be up and running.
Logged
vikozo
Full Member
Posts: 211
Karma: 5
Re: nginx reverse Proxy help - example needed
«
Reply #2 on:
June 20, 2019, 02:57:46 pm »
LOL that sound easy! will try it this way
Logged
apu2c4 / wle200nx / 240 Disk
--> Firewall | FW-03
---
OPNsense 22.1.6-amd64
FreeBSD 13.0-STABLE
OpenSSL 1.1.1n 15 Mar 2022
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
19.1 Legacy Series
»
nginx reverse Proxy help - example needed