summaryrefslogtreecommitdiff
path: root/provider_base/services/webapp.json
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2015-10-05 09:47:51 -0700
committerelijah <elijah@riseup.net>2015-10-05 09:47:51 -0700
commitda12768b873e17af261f7fd69aec7d86255fa6e5 (patch)
tree7d581e6598d4920daec96d32017bd4db66a402ed /provider_base/services/webapp.json
parentafddd1bfb3cd8d68bdc699c983fdcd54561c44bd (diff)
parent9352ce45a7950ff1175d3a7e5412fc9006691799 (diff)
Merge branch 'feature/firewall' into develop
Diffstat (limited to 'provider_base/services/webapp.json')
-rw-r--r--provider_base/services/webapp.json7
1 files changed, 7 insertions, 0 deletions
diff --git a/provider_base/services/webapp.json b/provider_base/services/webapp.json
index 039b1c0b..9e3d751b 100644
--- a/provider_base/services/webapp.json
+++ b/provider_base/services/webapp.json
@@ -76,5 +76,12 @@
"ca_cert": "= file :ca_cert, :missing => 'provider CA. Run `leap cert ca`'",
"client_ca_cert": "= file :client_ca_cert, :missing => 'Certificate Authority. Run `leap cert ca`.'",
"client_ca_key": "= file :client_ca_key, :missing => 'Certificate Authority. Run `leap cert ca`.'"
+ },
+ "firewall": {
+ "webapp": {
+ "from": "*",
+ "to": "= ip_address",
+ "port": "= [api.port, 443, 80, nickserver.port]"
+ }
}
}