![](https://img-blog.csdnimg.cn/20190918140158853.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
Nginx
Nginx
长胖了的辣条
这个作者很懒,什么都没留下…
展开
-
小程序ngxin配置ssl证书
小程序中在nginx上配置ssl,记住思路。worker_processes 1;events { worker_connections 1024;}http{ #思路是通过80端口跳转到443端口(https) 然后通过443端口转发到服务地址 server { listen 80; server_name xxx.com; #不写这句也可以 #rewrite ^(.*)$ https://${server_name}$1 permanent;原创 2021-09-03 16:37:04 · 336 阅读 · 0 评论 -
nginx基础配置
#user nobody;worker_processes 1;events { worker_connections 1024;}http { include mime.types; default_type application/octet-stream; sendfile on; keepalive_timeout 65; #负载均衡 upstream myserver{ server 111.11.原创 2021-09-02 16:58:37 · 64 阅读 · 0 评论