Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

multiple nginx reverse proxy

$
0
0
hello
i am trying to setup multiple nginx reverse proxy
current i have 1 reverse proxy

example.com point to reverse proxy ip
and this is the config in reverse proxy server
server {
listen 80;
server_name example.com;
access_log off;
error_log off;
location / {
proxy_pass http://ip/; = the ip the website where website files are located
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
access_log off;
log_not_found off;

} }

attached example image

thanks

Viewing all articles
Browse latest Browse all 4759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>