Browse Source

fix for the use of a deprecated directive in nginx

Anton Reutov 7 năm trước cách đây
mục cha
commit
232dbf0d09
1 tập tin đã thay đổi với 1 bổ sung2 xóa
  1. 1 2
      install/debian/8/templates/web/nginx/http2.stpl

+ 1 - 2
install/debian/8/templates/web/nginx/http2.stpl

@@ -1,7 +1,6 @@
 server {
-    listen      %ip%:%proxy_ssl_port% http2;
+    listen      %ip%:%proxy_ssl_port% ssl http2;
     server_name %domain_idn% %alias_idn%;
-    ssl         on;
     ssl_certificate      %ssl_pem%;
     ssl_certificate_key  %ssl_key%;
     error_log  /var/log/httpd/domains/%domain%.error.log error;