From 22accb9e83eed05be2bd37009a055e3055d03db7 Mon Sep 17 00:00:00 2001 From: j52m <65143495+j52m@users.noreply.github.com> Date: Fri, 25 Dec 2020 04:49:55 -0500 Subject: [PATCH] Update modx.stpl --- install/debian/10/templates/web/nginx/php-fpm/modx.stpl | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/install/debian/10/templates/web/nginx/php-fpm/modx.stpl b/install/debian/10/templates/web/nginx/php-fpm/modx.stpl index f410ab77..420aeb9e 100644 --- a/install/debian/10/templates/web/nginx/php-fpm/modx.stpl +++ b/install/debian/10/templates/web/nginx/php-fpm/modx.stpl @@ -1,13 +1,12 @@ server { - listen %ip%:%web_ssl_port%; + listen %ip%:%web_ssl_port% ssl http2; server_name %domain_idn% %alias_idn%; root %sdocroot%; index index.php index.html index.htm; access_log /var/log/nginx/domains/%domain%.log combined; access_log /var/log/nginx/domains/%domain%.bytes bytes; error_log /var/log/nginx/domains/%domain%.error.log error; - - ssl on; + ssl_certificate %ssl_pem%; ssl_certificate_key %ssl_key%; # if you need to rewrite www to non-www uncomment bellow