OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Profile of CaptainSandwich »
  • Show Posts »
  • Topics
  • Profile Info
    • Summary
    • Show Stats
    • Show Posts...
      • Messages
      • Topics
      • Attachments

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

  • Messages
  • Topics
  • Attachments

Topics - CaptainSandwich

Pages: [1]
1
Web Proxy Filtering and Caching / Nginx Plugin Reverse Proxy for sub-domains
« on: March 15, 2020, 08:08:03 am »
Hi all,

I currently have nginx running on a home server within my network to serve as a reverse proxy, directing subdomains like emby.mydomain.com to an internal IP and port combination. I'm now looking to make use of the nginx plugin within opnsense to serve the same function, though I'm having a bit of a hard time going from the nginx.conf to a gui configuration in the plugin.

Specifically, I don't seem to be able to get subdomains to direct correctly. As I mentioned, I'm trying to get emby.mydomain.com to redirect, however it just times out. Navigating to just mydomain.com however loads emby, as does the IP of the opnsense router (opnsense webgui is running on port 8080). I've followed through the how to, but I'm not really sure where I'm going wrong or why this isn't working. Could someone please have a look over the below steps I've taken and give any pointers? Thank you very much.

All defaults where not specified

Upstream Server
Description: Emby Server
Server: 192.168.0.100
Port: 8096
Server Priority: 1

Upstream
Description: Emby Upstream
Server Entries: Emby Server

Location
Description: Emby Location
URL Pattern: /
Upstream Servers: Emby Upstream

HTTP Server
Server Name: emby.mydomain.com
Locations: Emby Location



Pages: [1]
OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2