From 45a6824990a75d11c8faa578b785b7289cda961a Mon Sep 17 00:00:00 2001 From: ifaist0s Date: Tue, 22 Jan 2019 12:52:36 +0200 Subject: [PATCH] Use of deprecated directive FIX: [warn] 31172#31172: the "ssl" directive is deprecated, use the "listen ... ssl" directive instead CAUSE: http://hg.nginx.org/nginx/rev/46c0c7ef4913 --- install/ubuntu/16.04/templates/web/nginx/hosting.stpl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/install/ubuntu/16.04/templates/web/nginx/hosting.stpl b/install/ubuntu/16.04/templates/web/nginx/hosting.stpl index d778d6333..1ef8994b6 100755 --- a/install/ubuntu/16.04/templates/web/nginx/hosting.stpl +++ b/install/ubuntu/16.04/templates/web/nginx/hosting.stpl @@ -1,7 +1,6 @@ server { - listen %ip%:%proxy_ssl_port%; + listen %ip%:%proxy_ssl_port% ssl; server_name %domain_idn% %alias_idn%; - ssl on; ssl_certificate %ssl_pem%; ssl_certificate_key %ssl_key%; error_log /var/log/%web_system%/domains/%domain%.error.log error;