forked from DevOps/deploy.stack
feat(ntfy): 添加ntfy服务配置及代理设置
- 新增ntfy server配置文件,设置默认访问权限和web认证 - 在caddy配置中添加ntfy子域名代理 - 更新ntfy stack配置,禁用用户注册功能
This commit is contained in:
@@ -13,4 +13,16 @@ https://www.48474.site {
|
||||
https://dom.48474.site {
|
||||
tls moqiruyi@gmail.com
|
||||
reverse_proxy 10.1.8.14:9800
|
||||
}
|
||||
}
|
||||
|
||||
http://ntfy.48474.site {
|
||||
tls moqiruyi@gmail.com
|
||||
redir / /login temporary
|
||||
# @httpget {
|
||||
# protocol http
|
||||
# method GET
|
||||
# path_regexp ^/([-_a-z0-9]{0,64}$|docs/|static/)
|
||||
# }
|
||||
# redir @httpget https://{host}{uri}
|
||||
reverse_proxy 10.1.8.14:9800
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user