Advertisement
Guest User

vhost.err

a guest
Mar 6th, 2014
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.41 KB | None | 0 0
  1. server {
  2. listen *:80;
  3.  
  4.  
  5. server_name crescernavida.com.br www.crescernavida.com.br;
  6.  
  7. root /var/www/crescernavida.com.br/web;
  8.  
  9.  
  10.  
  11. index index.html index.htm index.php index.cgi index.pl index.xhtml;
  12.  
  13.  
  14.  
  15. error_page 400 /error/400.html;
  16. error_page 401 /error/401.html;
  17. error_page 403 /error/403.html;
  18. error_page 404 /error/404.html;
  19. error_page 405 /error/405.html;
  20. error_page 500 /error/500.html;
  21. error_page 502 /error/502.html;
  22. error_page 503 /error/503.html;
  23. recursive_error_pages on;
  24. location = /error/400.html {
  25.  
  26. internal;
  27. }
  28. location = /error/401.html {
  29.  
  30. internal;
  31. }
  32. location = /error/403.html {
  33.  
  34. internal;
  35. }
  36. location = /error/404.html {
  37.  
  38. internal;
  39. }
  40. location = /error/405.html {
  41.  
  42. internal;
  43. }
  44. location = /error/500.html {
  45.  
  46. internal;
  47. }
  48. location = /error/502.html {
  49.  
  50. internal;
  51. }
  52. location = /error/503.html {
  53.  
  54. internal;
  55. }
  56.  
  57. error_log /var/log/ispconfig/httpd/crescernavida.com.br/error.log;
  58. access_log /var/log/ispconfig/httpd/crescernavida.com.br/access.log combined;
  59.  
  60. location ~ /\. {
  61. deny all;
  62. access_log off;
  63. log_not_found off;
  64. }
  65.  
  66. location = /favicon.ico {
  67. log_not_found off;
  68. access_log off;
  69. }
  70.  
  71. location = /robots.txt {
  72. allow all;
  73. log_not_found off;
  74. access_log off;
  75. }
  76.  
  77. location /stats {
  78.  
  79. index index.html index.php;
  80. auth_basic "Members Only";
  81. auth_basic_user_file /var/www/clients/client0/web1/web/stats/.htpasswd_stats;
  82. }
  83.  
  84. location ^~ /awstats-icon {
  85. alias /usr/share/awstats/icon;
  86. }
  87.  
  88. location ~ \.php$ {
  89. try_files /14fd959417485a37a758a95cb83f1a4e.htm @php;
  90. }
  91.  
  92. location @php {
  93. try_files $uri =404;
  94. include /etc/nginx/fastcgi_params;
  95. fastcgi_pass 127.0.0.1:9010;
  96. fastcgi_index index.php;
  97. fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
  98. fastcgi_intercept_errors on;
  99. }
  100.  
  101.  
  102. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement