-
Notifications
You must be signed in to change notification settings - Fork 32
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
能否有用openssl自动生成/续签功能 #54
Comments
自签名证书目前没有计划,域名证书的话目前建议使用acme.sh来自动续期,nps会自动检测证书文件变更,无需手动重启。 |
我是这么解决的,前置caddy解决https,然后nps仅配置http端口,比如20080。然后caddyfile这么写 *.your-domain.com {
import tls
import common_headers
import secure_headers
@other host *.your-domain.com
handle @other {
reverse_proxy localhost:20080 {
import redir_headers
}
}
} tls, common_headers, secure_headers那些就正常写,除了tls均可省略。 |
我应该如何自动续签域名转发里配置的https证书 |
建议域名转发配置证书路径,用acme.sh自动续签。 |
我该如何配置证书路径 |
额,域名转发填证书的位置,或者nps.conf里默认证书都可以。
nps会自动检测证书文件变更。
|
最新那个版本的功能?0.26.44域名转发的设置里面只有输入证书文本的输入框啊 |
哦哦原来那输入框也支持路径的吗 |
那个地方也能填路径的。。
|
或者用前置caddy的方案,让caddy帮你续。 |
如题
The text was updated successfully, but these errors were encountered: