use 8080 for http and 8443 for https to match cloudflare

This commit is contained in:
Jakub Sokołowski 2018-08-29 13:19:32 -04:00
parent 4929091f44
commit 1e39d2d0d4
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
4 changed files with 6 additions and 5 deletions

View File

@ -9,7 +9,7 @@ nginx_configs:
nginx_sites:
swarm_lb:
- listen 8900 ssl
- listen 8443 ssl
- server_name {{ env }}-{{ stage }}.status.im

View File

@ -25,7 +25,8 @@ geth_account: ~
# main http port
swarm_addr: '0.0.0.0'
swarm_port: 8800
swarm_port: 8080
swarm_ssl: 8443
# for key generation
genkey_image: 'ethereum/client-go:alltools-latest'

View File

@ -40,6 +40,6 @@
with_items:
- { 'name': 'Swarm', 'port': '{{ cont_port }}', 'proto': 'udp' }
- { 'name': 'Swarm HTTP', 'port': '{{ swarm_port }}', 'proto': 'tcp' }
- { 'name': 'Swarm HTTPS', 'port': 8900, 'proto': 'tcp' }
- { 'name': 'Swarm HTTPS', 'port': '{{ swarm_ssl }}', 'proto': 'tcp' }
notify:
- Save iptables rules

View File

@ -54,8 +54,8 @@ module "swarm" {
eth_network = "${var.eth_network}"
/* firewall */
open_ports = [
"8800-8800", /* http */
"8900-8900", /* https */
"8080-8080", /* http */
"8443-8443", /* https */
"30303-30303", /* geth */
"30399-30399", /* swarm */
]