Guest User

redirect-loop

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