В конфиге докера починена работа xdebug

This commit is contained in:
ErickSkrauch
2016-05-31 21:05:18 +03:00
parent b5ed01853e
commit c3e7e99baa
6 changed files with 32 additions and 35 deletions

View File

@@ -16,14 +16,10 @@ http {
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"';
access_log /var/log/nginx/access.log main;
access_log /var/log/nginx/access.log main;
sendfile on;
#tcp_nopush on;
keepalive_timeout 65;
#gzip on;
sendfile on;
keepalive_timeout 10;
server {
listen 80;
@@ -43,13 +39,14 @@ http {
}
location /api {
try_files $uri /api/web/index.php?$args;
try_files $uri /api/web/index.php?$args;
}
location ~* \.php$ {
fastcgi_pass app:9000;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_pass app:9000;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param SERVER_NAME $host;
}
# Раздача статики для frontend
@@ -58,10 +55,6 @@ http {
expires max;
access_log off;
}
location ~* \.(htaccess|htpasswd|svn|git) {
deny all;
}
}
}