ソースを参照

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
ifaist0s 7 年 前
コミット
6c072a91c4
1 ファイル変更1 行追加2 行削除
  1. 1 2
      install/ubuntu/16.04/templates/web/nginx/default.stpl

+ 1 - 2
install/ubuntu/16.04/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;