Hello everyone,
After playing with nearly all, the very few complicated how-to’s created strictly for FreeBSD, I found the simplest one to use Nginx as reverse proxy but I still don’t have a clue of tools or alliances needed to test on a single machine. I don’t want to place everything in one jail because I may want to move these same jails to multiple servers someday. If I get the hang of things, then only minimal modification will be needed.
For now I’m trying to deal with two or more jails on the same machine; one for Nginx-Reverse-Proxy and the other with Apache with PHP. When I test each jail separately, they work. So I am half way there if there is a there.
Nginx on IP-10.0.0.1 is working:
Apache on IP-10.0.0.4 is working:
Calling from Firefox on the host, It works like a charm separately:
How would I pass real-ips to apache or any other backend server? Can I fake real-ip with my virtual IP 10.x.x.x? How would I go about testing all of this on a single FreeBSD machine? I hope I am not completely off base, because no tutors I read don’t even mention something like this, ether because it’s not possible or they figure it should be common knowledge.
***** https://techknight.eu/2015/08/13/let-nginx-reverse-proxy-pass-real-ips-to-apache/
https://www.knthost.com/nginx/nginx-reverse-proxy-setup-freebsd
http://linoxide.com/linux-how-to/install-nginx-reverse-proxy-apache-freebsd-10-2/
http://docplayer.net/5955106-Running-nginx-as-reverse-proxy-server.html
http://www.howdididothat.info/2013/...che-for-all-domains-on-other-virtual-machine/
https://www.quora.com/Whats-the-difference-between-a-reverse-proxy-and-forward-proxy
http://selby.highfield-house.org.uk/?cat=9
http://kbeezie.com/apache-with-nginx/
Other than what’s here and at GIT, that’s just about all she wrote for FreeBSD
After playing with nearly all, the very few complicated how-to’s created strictly for FreeBSD, I found the simplest one to use Nginx as reverse proxy but I still don’t have a clue of tools or alliances needed to test on a single machine. I don’t want to place everything in one jail because I may want to move these same jails to multiple servers someday. If I get the hang of things, then only minimal modification will be needed.
For now I’m trying to deal with two or more jails on the same machine; one for Nginx-Reverse-Proxy and the other with Apache with PHP. When I test each jail separately, they work. So I am half way there if there is a there.
Nginx on IP-10.0.0.1 is working:
Code:
Performing sanity check on nginx configuration: …
Starting nginx.
#
Apache on IP-10.0.0.4 is working:
Code:
Performing sanity check on php-fpm configuration: …
Starting php_fpm.
Performing sanity check on apache24 configuration: …
Starting apache24.
#
Calling from Firefox on the host, It works like a charm separately:
Code:
http://10.0.0.1:8080/
http://10.0.0.4:8080/info.php
How would I pass real-ips to apache or any other backend server? Can I fake real-ip with my virtual IP 10.x.x.x? How would I go about testing all of this on a single FreeBSD machine? I hope I am not completely off base, because no tutors I read don’t even mention something like this, ether because it’s not possible or they figure it should be common knowledge.
***** https://techknight.eu/2015/08/13/let-nginx-reverse-proxy-pass-real-ips-to-apache/
https://www.knthost.com/nginx/nginx-reverse-proxy-setup-freebsd
http://linoxide.com/linux-how-to/install-nginx-reverse-proxy-apache-freebsd-10-2/
http://docplayer.net/5955106-Running-nginx-as-reverse-proxy-server.html
http://www.howdididothat.info/2013/...che-for-all-domains-on-other-virtual-machine/
https://www.quora.com/Whats-the-difference-between-a-reverse-proxy-and-forward-proxy
http://selby.highfield-house.org.uk/?cat=9
http://kbeezie.com/apache-with-nginx/
Other than what’s here and at GIT, that’s just about all she wrote for FreeBSD