Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

phpstudy开启https配置ssl证书 #1

Open
dylanbai8 opened this issue Jul 13, 2019 · 1 comment
Open

phpstudy开启https配置ssl证书 #1

dylanbai8 opened this issue Jul 13, 2019 · 1 comment

Comments

@dylanbai8
Copy link
Owner

phpstudy nginx 为例

其它选项菜单-打开配置文件-vhosts-conf 或者直接打开以下路径文件:

F:\phpStudy\nginx\conf\vhosts.conf

在 root "C:/wwwroot/webroot"; 下一行加入

        ssl                  on;
        ssl_certificate      C:\wwwroot\sslroot\www.mydomain.com\full_chain.pem;
        ssl_certificate_key  C:\wwwroot\sslroot\www.mydomain.com\private.key;

        ssl_session_timeout  5m;

        ssl_protocols  SSLv2 SSLv3 TLSv1;
        ssl_ciphers  HIGH:!aNULL:!MD5;
        ssl_prefer_server_ciphers   on;
@dylanbai8
Copy link
Owner Author

https://freessl.cn/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant