diff options
Diffstat (limited to '.docker/nginx.conf')
-rw-r--r-- | .docker/nginx.conf | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/.docker/nginx.conf b/.docker/nginx.conf index e8754d9b..07fba33f 100644 --- a/.docker/nginx.conf +++ b/.docker/nginx.conf | |||
@@ -1,6 +1,7 @@ | |||
1 | user www-data www-data; | 1 | user nginx nginx; |
2 | daemon off; | 2 | daemon off; |
3 | worker_processes 4; | 3 | worker_processes 4; |
4 | pid /var/run/nginx.pid; | ||
4 | 5 | ||
5 | events { | 6 | events { |
6 | worker_connections 768; | 7 | worker_connections 768; |
@@ -59,7 +60,7 @@ http { | |||
59 | fastcgi_split_path_info ^(.+\.php)(/.+)$; | 60 | fastcgi_split_path_info ^(.+\.php)(/.+)$; |
60 | 61 | ||
61 | # filter and proxy PHP requests to PHP-FPM | 62 | # filter and proxy PHP requests to PHP-FPM |
62 | fastcgi_pass unix:/var/run/php5-fpm.sock; | 63 | fastcgi_pass unix:/var/run/php-fpm.sock; |
63 | fastcgi_index index.php; | 64 | fastcgi_index index.php; |
64 | include fastcgi.conf; | 65 | include fastcgi.conf; |
65 | } | 66 | } |