Guest User

centmin-default-page

a guest
Oct 9th, 2014
186
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. server {
  2. listen 80;
  3. server_name reflectiondesign.info;
  4. return 301 $scheme://www.reflectiondesign.info$request_uri;
  5. }
  6.  
  7. server {
  8. listen 443 ssl spdy;
  9. server_name www.reflectiondesign.info;
  10.  
  11. # ngx_pagespeed & ngx_pagespeed handler
  12. include /usr/local/nginx/conf/pagespeed.conf;
  13. #include /usr/local/nginx/conf/pagespeedhandler.conf;
  14. #include /usr/local/nginx/conf/pagespeedstatslog.conf;
  15.  
  16. # limit_conn limit_per_ip 16;
  17. # ssi on;
  18.  
  19. access_log /home/nginx/domains/reflectiondesign.info/log/access.log combined buffer=32k;
  20. error_log /home/nginx/domains/reflectiondesign.info/log/error.log;
  21.  
  22. root /home/nginx/domains/reflectiondesign.info/public;
  23.  
  24. location / {
  25.  
  26. # block common exploits, sql injections etc
  27. #include /usr/local/nginx/conf/block.conf;
  28.  
  29. # Enables directory listings when index file not found
  30. #autoindex on;
  31.  
  32. # Shows file listing times as local time
  33. #autoindex_localtime on;
  34.  
  35. # Enable for vBulletin usage WITHOUT vbSEO installed
  36. #try_files / /index.php;
  37. try_files $uri $uri/ /index.php?q=$request_uri;
  38.  
  39. }
  40.  
  41. include /usr/local/nginx/conf/wpsecure.conf;
  42. include /usr/local/nginx/conf/staticfiles.conf;
  43. include /usr/local/nginx/conf/php.conf;
  44. include /usr/local/nginx/conf/drop.conf;
  45. #include /usr/local/nginx/conf/errorpage.conf;
  46. }
RAW Paste Data