Update site_api.py

pull/267/head
midoks 3 years ago
parent 3adb59188a
commit c21c8d9322
  1. 3
      class/core/site_api.py

@ -2478,8 +2478,7 @@ location ^~ {from} {\n\
ssl_prefer_server_ciphers on;
ssl_session_cache shared:SSL:10m;
ssl_session_timeout 10m;
error_page 497 https://$host$request_uri;
""" % (certPath, keyPath)
error_page 497 https://$host$request_uri;""" % (certPath, keyPath)
if(conf.find('ssl_certificate') != -1):
return mw.returnData(True, 'SSL开启成功!')

Loading…
Cancel
Save