ansible: 添加 frp 服务端部署配置
This commit is contained in:
14
ansible/templates/frps.toml.j2
Normal file
14
ansible/templates/frps.toml.j2
Normal file
@@ -0,0 +1,14 @@
|
||||
bindPort = {{ vault_frps_bind_port }}
|
||||
|
||||
vhostHTTPPort = {{ vault_frps_vhost_http_port }}
|
||||
vhostHTTPSPort = {{ vault_frps_vhost_https_port }}
|
||||
|
||||
auth.method = "token"
|
||||
auth.token = "{{ vault_frps_token }}"
|
||||
|
||||
webServer.addr = "0.0.0.0"
|
||||
webServer.port = {{ vault_frps_dashboard_port }}
|
||||
webServer.user = "{{ vault_frps_dashboard_user }}"
|
||||
webServer.password = "{{ vault_frps_dashboard_password }}"
|
||||
|
||||
log.to = "/var/log/frps.log"
|
||||
Reference in New Issue
Block a user