RiptideTempora

Reverse Proxy nginx conf file for The Guardian

Jun 28th, 2013
189
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. ##
  2. # NOTE: THIS IS NOT WORKING. PHP SCRIPT INCOMING
  3. ##
  4. root@server:/etc/nginx/sites-enabled# cat zGuardian
  5. server {
  6. listen 80;
  7. server_name guardian.alpha7f.com;
  8. location / {
  9. proxy_pass http://199.27.77.129/;
  10. proxy_set_header Host www.guardiannews.com;
  11. # proxy_cache STATIC;
  12. proxy_cache_valid 200 1d;
  13. proxy_cache_use_stale error timeout invalid_header updating
  14. http_500 http_502 http_503 http_504;
  15. }
  16. }
Advertisement
Add Comment
Please, Sign In to add comment