NIGNX
Nginx is a caching server, and it can be used as a reverse proxy and it is s powerful, matter of fact, did you know amazon cloud front use nginx??
sudo apt install nginx
Turn Nginx into a reverse proxy
sudoedit /etc/nginx/sites-available/default
inside location curly braces:
how to pass proxy information to backend
for security purposes or marketing information, backend servers dosen’t know about client or end users, because they are hitting the nginx reverse proxy and for that we’ll use some special config
in /etc/nginx/conf.d
create a file with any name you want and add this ( this is for centos )
If you are in ubuntu you can crate your .conf file inside sites-available then make a symlink to sites-enabled
[root@k8s-manager nginx]# cat ./conf.d/reverse-proxy.conf
Last updated