Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- server {
- server_name sait.com www.sait.com;
- charset off;
- index index.html index.php;
- disable_symlinks if_not_owner from=$root_path;
- include /etc/nginx/vhosts-includes/*.conf;
- include /etc/nginx/vhosts-resources/sait.com/*.conf;
- access_log /var/www/httpd-logs/sait.com.access.log;
- error_log /var/www/httpd-logs/sait.com.error.log notice;
- ssi on;
- set $root_path /var/www/site/data/www/sait.com;
- root $root_path;
- listen 151.151.151.151:80;
- location / {
- location ~ [^/]\.ph(p\d*|tml)$ {
- try_files /does_not_exists @php;
- }
- }
- location @php {
- fastcgi_param PHP_ADMIN_VALUE "sendmail_path = /usr/sbin/sendmail -t -i -f webmaster@sait.com";
- fastcgi_param SCRIPT_FILENAME /var/www/site/data/www/sait.com/engine/index.php;
- fastcgi_param HTTPS $http_x_forwarded_https if_not_empty;
- fastcgi_pass unix:/var/www/php-fpm/site.sock;
- try_files $uri =404;
- include /etc/nginx/fastcgi_params;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement