Welcome! Log In Create A New Profile

Advanced

multiple nginx reverse proxy

Posted by poliz8zpoliz8z 
multiple nginx reverse proxy
November 27, 2015 08:20PM
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
Attachments:
open | download - reverse proxy nginx.png (13.9 KB)
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 185
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready