Advertisement
Guest User

Untitled

a guest
Jul 10th, 2014
219
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.77 KB | None | 0 0
  1. location /postfixadmin {
  2. root /var/www/html/postfixadmin/;
  3. index index.php index.html index.htm;
  4. location ~ ^/postfixadmin/(.+.php)$ {
  5. try_files $uri $uri/ =404;
  6. root /var/www/html/postfixadmin/;
  7. fastcgi_pass 127.0.0.1:9000;
  8. fastcgi_index index.php;
  9. fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
  10. include /etc/nginx/fastcgi_params;
  11. fastcgi_buffer_size 128k;
  12. fastcgi_buffers 256 4k;
  13. fastcgi_busy_buffers_size 256k;
  14. fastcgi_temp_file_write_size 256k;
  15. fastcgi_intercept_errors on;
  16.  
  17. }
  18. location ~* ^/postfixadmin/(.+.(jpg|jpeg|gif|css|png|js|ico|html|xml|txt))$ {
  19. root /var/www/html/postfixadmin/;
  20. }
  21. }
  22. location /PostfixAdmin {
  23. rewrite ^/* /postfixadmin last;
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement