td2015表示SSL不会设置!
根据你们提供的一个文本给我,我添加内容进去了,,可以重启WEB服务器就启动了,,然后自动停止,,启动了自动停止,不知道是哪里的问题,,还望给于帮助!谢谢!您好,方便的话,您先留一个您的QQ,或者私信给我QQ,我这边加您再具体看下 通达李娜宁 发表于 2015-7-14 11:40 static/image/common/back.gif
您好,方便的话,您先留一个您的QQ,或者私信给我QQ,我这边加您再具体看下 ...
1158383858 最后怎么解决的 已加Q,目前需要跟开发确认沟通,有结果答复 下面是我根据0630版的nginx.conf 修改的设置,红色部分是我新增的。
root后未加引号时 443启用 但找不到网页
未添加TLSv1.1 TLSv1.2时打开提示请启用网页的tls1.0 2.0
server {
listen 443;
server_namelocalhost;
root "D:/MYOA/webroot/";
indexindex.php index.html index.htm;
error_log ../logs/nginx_ssl_error.log;
ssl on;
ssl_certificate server.crt; //证书文件 放到myoa\nginx\conf下
ssl_certificate_keyserver.key; //证书文件 放到myoa\nginx\conf下
ssl_session_timeout5m;
ssl_protocolsSSLv3 TLSv1 TLSv1.1 TLSv1.2;
ssl_ciphersHIGH:!ADH:!EXPORT56:RC4+RSA:+MEDIUM;//变量值 卖SSL证书的厂商提供
ssl_prefer_server_ciphers on;
if (-d $request_filename){
rewrite ^/(.*)([^/])$ $scheme://$http_host/$1$2/ permanent;
}
location ~* ^/(attachment|static|images|theme|templates|wav)/.*\.(php|.php3|.php5|jsp|asp)$ {
deny all;
}
location ~ \.php$ {
fastcgi_pass OfficeFPM;
fastcgi_indexindex.php;
include fastcgi.conf;
}
location /general/document/index.php/ {
fastcgi_passOfficeFPM;
fastcgi_indexindex.php;
include fastcgi.conf;
fastcgi_paramSCRIPT_FILENAME D:/MYOA/webroot/general/document/index.php;
fastcgi_paramSCRIPT_NAME /general/document/index.php;
fastcgi_split_path_info ^(.+\.php)/(.*)$;
fastcgi_paramPATH_INFO $fastcgi_path_info;
fastcgi_param PATH_TRANSLATED $document_root$fastcgi_path_info;
}
location /general/itask/router.php/ {
fastcgi_pass OfficeFPM;
fastcgi_indexindex.php;
include fastcgi.conf;
fastcgi_paramSCRIPT_FILENAME D:/MYOA/webroot/general/itask/router.php;
fastcgi_paramSCRIPT_NAME /general/itask/router.php;
}
location ~* ^/attachment/(background|im|new_sms|reportshop|cache|data_center) {
allow all;
}
location ~* ^/attachment {
deny all;
}
include common.conf;
}
}
本帖最后由 wuping 于 2016-12-26 16:57 编辑
已经有其它用户设置成功了,再看看官方指导文件吧
页:
[1]