Here, I would like to introduce an easy way to do a reverse proxy with Squid.
Here will introduce the construction. Please refer to it.
First of all, from the composition of roles Assuming that the server has already been built. .. ..
First of all
$ sudo yum -y install squid
Continued editing (additional)
http_port 192.168.33.10:8080 accel defaultsite=192.168.33.20 cache_peer 192.168.33.20 parent 80 0 no-query originserver
$ systemctl start squid
If you access the proxy server and see the web server page, you are successful.
How was it? It's a simple operation check level. .. .. Next time, I wish I could introduce the construction with nginx. .. ..