LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Closed Thread
  Search this Thread
Old 11-27-2015, 07:41 PM   #1
ioub22
LQ Newbie
 
Registered: May 2012
Posts: 10

Rep: Reputation: Disabled
multiple nginx reverse proxy


hello
i am trying to setup multiple nginx reverse proxy
current i have 1 reverse proxy
example:
http://i.imgur.com/CPGbvnc.png
example.com point to reverse proxy ip
and this is the config in reverse proxy server
Code:
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;
} }





 
Old 11-29-2015, 06:01 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Duplicate of https://www.linuxquestions.org/quest...le-4175559867/. Please don't.
 
  


Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
multiple nginx reverse proxy possible ? ioub22 Linux - Newbie 0 11-26-2015 06:51 PM
Nginx Reverse proxy on a internal apache reverse server ITiger Linux - Software 0 04-25-2014 07:44 AM
Nginx reverse proxy - ip problem donglee Linux - Software 1 01-15-2014 07:43 PM
[SOLVED] Nginx as SSL Reverse Proxy mosiac Linux - Server 6 07-18-2013 03:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration