From 7d06e189351859edc0fa246ae21a9cba1433a29b Mon Sep 17 00:00:00 2001 From: staticsafe Date: Sun, 10 Jun 2018 13:16:21 -0400 Subject: [PATCH] add PHP upstream config to ubuntu/mercy.sickstack.com.yml --- ubuntu/mercy.sickstack.com.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ubuntu/mercy.sickstack.com.yml b/ubuntu/mercy.sickstack.com.yml index 4682fed..6eb4640 100644 --- a/ubuntu/mercy.sickstack.com.yml +++ b/ubuntu/mercy.sickstack.com.yml @@ -39,6 +39,8 @@ - gzip_buffers 16 8k - gzip_http_version 1.1 - gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript + upstream: + - upstream php { server unix:/run/php/php7.2-fpm.sock; } ssl: - ssl_protocols TLSv1.2 - ssl_dhparam "/etc/nginx/dhparams.pem"