Created
September 28, 2015 21:42
-
-
Save random-robbie/c5458feea5eef87da3f7 to your computer and use it in GitHub Desktop.
reverse proxy -
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## send request back to apache1 ## | |
location / { | |
proxy_pass http://$host$uri; | |
proxy_set_header Accept-Encoding ""; | |
proxy_redirect off; | |
proxy_buffering off; | |
proxy_ssl_verify off; | |
proxy_ssl_server_name on; | |
proxy_set_header Host $host; | |
resolver 8.8.8.8; | |
proxy_set_header X-Forwarded-For 209.239.112.104; | |
proxy_set_header X-Real-IP 209.239.112.104; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment