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??
Turn Nginx into a reverse proxy
location / {
proxy_pass
http://site2.homelab.lan:8080
;
#….more config
}server {
listen 80;
server_name centos.homelab.lan;
location / {
proxy_pass <https://dev.to/taqiyeddinedj>;
#proxy_set_header Host $host;
#proxy_set_header X-Real-IP $remote_addr;
#proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
}Last updated