Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- server {
- server_name reflectiondesign.info www.reflectiondesign.info;
- return 301 $scheme://www.reflectiondesign.info$request_uri;
- }
- server {
- listen 443 ssl spdy;
- server_name www.reflectiondesign.info;
- # ngx_pagespeed & ngx_pagespeed handler
- include /usr/local/nginx/conf/pagespeed.conf;
- #include /usr/local/nginx/conf/pagespeedhandler.conf;
- #include /usr/local/nginx/conf/pagespeedstatslog.conf;
- # limit_conn limit_per_ip 16;
- # ssi on;
- access_log /home/nginx/domains/reflectiondesign.info/log/access.log combined buffer=32k;
- error_log /home/nginx/domains/reflectiondesign.info/log/error.log;
- root /home/nginx/domains/reflectiondesign.info/public;
- location / {
- # block common exploits, sql injections etc
- #include /usr/local/nginx/conf/block.conf;
- # Enables directory listings when index file not found
- #autoindex on;
- # Shows file listing times as local time
- #autoindex_localtime on;
- # Enable for vBulletin usage WITHOUT vbSEO installed
- #try_files / /index.php;
- try_files $uri $uri/ /index.php?q=$request_uri;
- }
- include /usr/local/nginx/conf/wpsecure.conf;
- include /usr/local/nginx/conf/staticfiles.conf;
- include /usr/local/nginx/conf/php.conf;
- include /usr/local/nginx/conf/drop.conf;
- #include /usr/local/nginx/conf/errorpage.conf;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement