Advertisement
Guest User

Untitled

a guest
Oct 1st, 2014
176
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  1. server {
  2. listen 80;
  3. server_name viacoin.minerpools.com;
  4. return 301 https://$host$request_uri;
  5. }
  6.  
  7. server {
  8. listen 443 ssl;
  9. server_name viacoin.minerpools.com;
  10. root /srv/http/via/public;
  11. ssl_session_timeout 5m;
  12. ssl_protocols SSLv2 SSLv3 TLSv1;
  13. ssl_ciphers HIGH:!aNULL:!MD5;
  14. ssl_prefer_server_ciphers on;
  15. location / {
  16. index index.php index.html index.htm;
  17. }
  18. location ~ \.php$ {
  19. include /etc/nginx/fastcgi_params;
  20. if (-f $request_filename) {
  21. fastcgi_pass 127.0.0.1:9000;
  22. }
  23. fastcgi_index index.php;
  24. fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
  25. }
  26. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement