NGINX उन्नयन के बाद v1.15.2चेतावनी प्राप्त करना शुरू करता है।
nginx: [warn] the "ssl" directive is deprecated, use the "listen ... ssl" directive instead in /usr/local/etc/nginx/sites-enabled/confid-file-name:8
जहां 8 वीं पंक्ति है ssl on;
NGINX उन्नयन के बाद v1.15.2चेतावनी प्राप्त करना शुरू करता है।
nginx: [warn] the "ssl" directive is deprecated, use the "listen ... ssl" directive instead in /usr/local/etc/nginx/sites-enabled/confid-file-name:8
जहां 8 वीं पंक्ति है ssl on;
listen ... sslऔर ssl onअब लगता है ssl onकि कोई और आवश्यकता नहीं है
जवाबों:
अपने listenकथन को यहां से संपादित करें :
listen 443;
सेवा
listen 443 ssl;
और टिप्पणी करें या हटाएं:
# ssl on;
फिर से जाँच nginx -tकरें।
service nginx reloadआपके ऑपरेटिंग सिस्टम के आधार पर nginx config या अन्य कमांड को पुनः लोड करना आवश्यक हो सकता है