Advertisement
Guest User

Untitled

a guest
Jul 15th, 2013
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. server {
  2. listen 80;
  3. server_name example.com;
  4. root /var/www/stripe;
  5.  
  6. index index.php index.html;
  7.  
  8. location / {
  9. proxy_pass http://127.0.0.1:8080;
  10. include /etc/nginx/proxy_params;
  11. }
  12.  
  13. location ~ "\.pagespeed\.([a-z]\.)?[a-z]{2}\.[^.]{10}\.[^.]+" { add_header "" ""; }
  14. location ~ "^/ngx_pagespeed_static/" { }
  15. location ~ "^/ngx_pagespeed_beacon$" { }
  16. location /ngx_pagespeed_statistics { allow 127.0.0.1; deny all; }
  17. location /ngx_pagespeed_message { allow 127.0.0.1; deny all; }
  18. location /pagespeed_console { allow 127.0.0.1; deny all; }
  19.  
  20. charset koi8-r;
  21.  
  22. #include /etc/nginx/htaccess.conf;
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement