Browse Source

update default.conf

oubo 5 years ago
parent
commit
b252901bfb
1 changed files with 1 additions and 2 deletions
  1. 1 2
      common/config/default.conf

+ 1 - 2
common/config/default.conf

@@ -43,13 +43,12 @@ server {
      charset utf-8;
      client_max_body_size 128M;
      sendfile off;
-     listen 443;
+     listen 443 ssl;
      server_name localhost;
      root        /app/sapi/web/;
      index       index.php;
      access_log  /app/sapi/runtime/logs/access-$server_name.log;
      error_log   /app/sapi/runtime/logs/error.log;
-     ssl on;
      ssl_certificate_key /app/data/key;
      ssl_certificate /app/data/cert;
      location / {