How to steer public traffic to a jail

Carsten Bäcker carbaecker at gmx.de
Fri Aug 14 14:04:47 UTC 2020


Hi,

you may want to have a look into reverse proxying, e.g. using nginx on
your jail-host.
Really basic example:

|http { server { listen 80; server_name your.1st.domain.com; location /
{ proxy_pass http://127.0.1.2; } } server { listen 80; server_name
your.2nd.domain.com; location / { proxy_pass http://127.0.1.3; } } }|

||

||Good look!
Carsten


Am 14.08.2020 um 14:08 schrieb Ernie Luzar:
> I have 4 registered domain names, one for each jail. How do I get
> [ALL] public traffic to a domain name directed to the desired jail?
> _______________________________________________
> freebsd-jail at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-jail
> To unsubscribe, send any mail to "freebsd-jail-unsubscribe at freebsd.org"



More information about the freebsd-jail mailing list