chris (owner)

Revisions

gist: 8027 Download_button fork
public
Public Clone URL: git://gist.github.com/8027.git
Embed All Files: show embed
Nginx location for WordPress blog proxied at another server #
1
2
3
4
5
6
7
  location /blog {
    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header Host $http_host;
    proxy_redirect false;
    proxy_pass http://IP-ADDRESS-OF-OTHER-SERVER;
  }