Advertisement
Guest User

Untitled

a guest
Jun 19th, 2018
178
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.10 KB | None | 0 0
  1. server {
  2. server_name kentech.pp.ua www.kentech.pp.ua;
  3. charset UTF-8;
  4. index index.php index.html;
  5. disable_symlinks if_not_owner from=$root_path;
  6. include /etc/nginx/vhosts-includes/*.conf;
  7. include /etc/nginx/vhosts-resources/kentech.pp.ua/*.conf;
  8. access_log /var/www/httpd-logs/kentech.pp.ua.access.log;
  9. error_log /var/www/httpd-logs/kentech.pp.ua.error.log notice;
  10. set $root_path /var/www/ken/data/www/kentech.pp.ua;
  11. root $root_path;
  12. listen 62.213.67.229:80;
  13. location / {
  14. location ~ [^/]\.ph(p\d*|tml)$ {
  15. try_files /does_not_exists @php;
  16. }
  17.  
  18. }
  19. gzip on;
  20. gzip_comp_level 4;
  21. gzip_disable "msie6";
  22. gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript application/javascript;
  23. expires 7d;
  24. location @php {
  25. fastcgi_index index.php;
  26. fastcgi_param PHP_ADMIN_VALUE "sendmail_path = /usr/sbin/sendmail -t -i -f webmaster@kentech.pp.ua";
  27. fastcgi_pass unix:/var/www/php-fpm/ken.sock;
  28. fastcgi_split_path_info ^((?U).+\.ph(?:p\d*|tml))(/?.+)$;
  29. try_files $uri =404;
  30. include fastcgi_params;
  31. }
  32. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement