自用根证书rootCA.pem[1]证书研究 mkcert 工具安装web station添加虚拟主机配置想要使用的域名勾选80/443通过ssh 登录 进入/usr/local/etc/nginx/conf.d目录找到乱码目录名新建 文件vim user.conf.proxy按 ilocation ^~ / { #端口修改为群晖默认端口 proxy_pass http://127.0.0.1:8000/; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header REMOTE-HOST $remote_addr; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connect