diff --git a/global/php-pool.conf b/global/php-pool.conf index 051e3c9..6abdb9c 100644 --- a/global/php-pool.conf +++ b/global/php-pool.conf @@ -2,11 +2,11 @@ # Additional upstreams can be added to /etc/nginx/upstreams/*.conf and then you just # change `default php71` to whatever the new upstream is (could be php70 for example). upstream php71 { - server unix:/run/php/php7.1-fpm.sock; + server unix:/run/php/php7.1-fpm.sock; } include /etc/nginx/upstreams/*.conf; map '' $upstream { - default php71; + default php71; } \ No newline at end of file diff --git a/nginx.conf b/nginx.conf index 8fee385..d7b809a 100644 --- a/nginx.conf +++ b/nginx.conf @@ -32,10 +32,10 @@ http { # Limits & Timeouts include global/limits.conf; - # Some WP plugins that push large amounts of data via cookies - # can cause 500 HTTP errors if these values aren't increased. - fastcgi_buffers 16 16k; - fastcgi_buffer_size 32k; + # Some WP plugins that push large amounts of data via cookies + # can cause 500 HTTP errors if these values aren't increased. + fastcgi_buffers 16 16k; + fastcgi_buffer_size 32k; # Default Logs error_log /var/log/nginx/error.log warn; diff --git a/upstreams/php70.conf b/upstreams/php70.conf index 74e6cbc..3c33dae 100644 --- a/upstreams/php70.conf +++ b/upstreams/php70.conf @@ -1,4 +1,4 @@ # Defines the upstream for PHP 7.0 upstream php70 { - server unix:/run/php/php7.0-fpm.sock; + server unix:/run/php/php7.0-fpm.sock; } \ No newline at end of file