Date: Fri, 14 Aug 2020 16:04:40 +0200 From: =?UTF-8?Q?Carsten_B=c3=a4cker?= <carbaecker@gmx.de> To: Ernie Luzar <luzar722@gmail.com>, "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>, "freebsd-jail@freebsd.org" <freebsd-jail@freebsd.org> Subject: Re: How to steer public traffic to a jail Message-ID: <8984b35b-7c48-32ee-5bd0-e29c9439c890@gmx.de> In-Reply-To: <5F367EA9.20809@gmail.com>
index | next in thread | previous in thread | raw e-mail
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@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-jail
> To unsubscribe, send any mail to "freebsd-jail-unsubscribe@freebsd.org"
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8984b35b-7c48-32ee-5bd0-e29c9439c890>
