如何 ...
通过 Caddy 可以获得永久免费的 HTTPS:
{
http_port 80
https_port 443
}
asouldocs.dev {
reverse_proxy * localhost:5555
}
如下展示了 NGINX 的配置,但具体值需要根据实际情况修改:
server {
listen 80;
server_name asouldocs.dev;
location / {
proxy_pass http://localhost:5555;
}
}