Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- server {
- server_name kentech.pp.ua www.kentech.pp.ua;
- charset UTF-8;
- index index.php index.html;
- disable_symlinks if_not_owner from=$root_path;
- include /etc/nginx/vhosts-includes/*.conf;
- include /etc/nginx/vhosts-resources/kentech.pp.ua/*.conf;
- access_log /var/www/httpd-logs/kentech.pp.ua.access.log;
- error_log /var/www/httpd-logs/kentech.pp.ua.error.log notice;
- set $root_path /var/www/ken/data/www/kentech.pp.ua;
- root $root_path;
- listen 62.213.67.229:80;
- location / {
- location ~ [^/]\.ph(p\d*|tml)$ {
- try_files /does_not_exists @php;
- }
- }
- gzip on;
- gzip_comp_level 4;
- gzip_disable "msie6";
- gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript application/javascript;
- expires 7d;
- location @php {
- fastcgi_index index.php;
- fastcgi_param PHP_ADMIN_VALUE "sendmail_path = /usr/sbin/sendmail -t -i -f webmaster@kentech.pp.ua";
- fastcgi_pass unix:/var/www/php-fpm/ken.sock;
- fastcgi_split_path_info ^((?U).+\.ph(?:p\d*|tml))(/?.+)$;
- try_files $uri =404;
- include fastcgi_params;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement