Апр 7 2017
2 615 просмотровеще тут полезное — http://gfns.net/doc/bitrix.shtml Конфиг для сайта server { listen 192.168.100.1:80; ssi on; gzip on; gzip_comp_level 7; gzip_types application/x-javascript application/javascript text/css; server_name test.ru www.test.ru; charset off; #disable_symlinks if_not_owner from=$root_path; index index.php; root $root_path; set $root_path /home/test/data/www/test.ru; set $php_sock unix:/var/run/php-fpm.test.sock; access_log /home/httpd-logs/test.ru.access.log ; error_log /home/httpd-logs/test.ru.error.log notice; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Host $host; […]
By serg • Bitrix, Nginx, php, php-fpm
Апр 7 2017
битрикс + nginx + php-fpm
2 615 просмотровеще тут полезное — http://gfns.net/doc/bitrix.shtml Конфиг для сайта server { listen 192.168.100.1:80; ssi on; gzip on; gzip_comp_level 7; gzip_types application/x-javascript application/javascript text/css; server_name test.ru www.test.ru; charset off; #disable_symlinks if_not_owner from=$root_path; index index.php; root $root_path; set $root_path /home/test/data/www/test.ru; set $php_sock unix:/var/run/php-fpm.test.sock; access_log /home/httpd-logs/test.ru.access.log ; error_log /home/httpd-logs/test.ru.error.log notice; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Host $host; […]
By serg • Bitrix, Nginx, php, php-fpm 0