瀏覽代碼

fix for the use of a deprecated directive in nginx

Anton Reutov 7 年之前
父節點
當前提交
6a5061a7a9
共有 1 個文件被更改,包括 1 次插入2 次删除
  1. 1 2
      install/debian/8/templates/web/nginx/default.stpl

+ 1 - 2
install/debian/8/templates/web/nginx/default.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;