Fix indents
This commit is contained in:
parent
ca484fe861
commit
a6498a6bc2
@ -2,11 +2,11 @@
|
|||||||
# Additional upstreams can be added to /etc/nginx/upstreams/*.conf and then you just
|
# 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).
|
# change `default php71` to whatever the new upstream is (could be php70 for example).
|
||||||
upstream php71 {
|
upstream php71 {
|
||||||
server unix:/run/php/php7.1-fpm.sock;
|
server unix:/run/php/php7.1-fpm.sock;
|
||||||
}
|
}
|
||||||
|
|
||||||
include /etc/nginx/upstreams/*.conf;
|
include /etc/nginx/upstreams/*.conf;
|
||||||
|
|
||||||
map '' $upstream {
|
map '' $upstream {
|
||||||
default php71;
|
default php71;
|
||||||
}
|
}
|
||||||
@ -32,10 +32,10 @@ http {
|
|||||||
# Limits & Timeouts
|
# Limits & Timeouts
|
||||||
include global/limits.conf;
|
include global/limits.conf;
|
||||||
|
|
||||||
# Some WP plugins that push large amounts of data via cookies
|
# Some WP plugins that push large amounts of data via cookies
|
||||||
# can cause 500 HTTP errors if these values aren't increased.
|
# can cause 500 HTTP errors if these values aren't increased.
|
||||||
fastcgi_buffers 16 16k;
|
fastcgi_buffers 16 16k;
|
||||||
fastcgi_buffer_size 32k;
|
fastcgi_buffer_size 32k;
|
||||||
|
|
||||||
# Default Logs
|
# Default Logs
|
||||||
error_log /var/log/nginx/error.log warn;
|
error_log /var/log/nginx/error.log warn;
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
# Defines the upstream for PHP 7.0
|
# Defines the upstream for PHP 7.0
|
||||||
upstream php70 {
|
upstream php70 {
|
||||||
server unix:/run/php/php7.0-fpm.sock;
|
server unix:/run/php/php7.0-fpm.sock;
|
||||||
}
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user