Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- server {
- listen 80;
- server_name example.com;
- root /var/www/stripe;
- index index.php index.html;
- location / {
- proxy_pass http://127.0.0.1:8080;
- include /etc/nginx/proxy_params;
- }
- location ~ "\.pagespeed\.([a-z]\.)?[a-z]{2}\.[^.]{10}\.[^.]+" { add_header "" ""; }
- location ~ "^/ngx_pagespeed_static/" { }
- location ~ "^/ngx_pagespeed_beacon$" { }
- location /ngx_pagespeed_statistics { allow 127.0.0.1; deny all; }
- location /ngx_pagespeed_message { allow 127.0.0.1; deny all; }
- location /pagespeed_console { allow 127.0.0.1; deny all; }
- charset koi8-r;
- #include /etc/nginx/htaccess.conf;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement