1
0

Fix vars for testing

This commit is contained in:
2017-09-09 15:41:18 +03:00
parent e80ca9292f
commit 48ae6e1625
5 changed files with 29 additions and 22 deletions

View File

@ -22,7 +22,7 @@ app_envs: {}
app_directory: '/var/www/{{ app_name }}'
app_domains: ['{{ app_name }}.loc']
app_web_root: '/var/www/{{ app_name }}/current/web'
app_web_listen: 'unix:/var/run/php-fpm-{{ app_name }}.sock'
app_php_connection: '127.0.0.1:9001'
# СЕРТИФИКАТ
@ -36,5 +36,5 @@ app_cert_email: 'name@example.com'
app_php_version: '{{ php_version | default("7.0") }}'
app_fpool_name: '{{ app_name }}'
app_fpool_listen: '/var/run/php-fpm-{{ app_name }}.sock'
app_fpool_listen: '{{ app_php_connection }}'
app_fpool_slowlog: '/var/www/{{ app_name }}/shared/logs/'

View File

@ -19,7 +19,7 @@ server {
}
location ~ ^/app\.php(/|$) {
fastcgi_pass {{ app_web_listen }};
fastcgi_pass {{ app_php_connection }};
fastcgi_split_path_info ^(.+\.php)(/.*)$;
include fastcgi_params;