Host website outside home

This commit is contained in:
Jake Howard
2020-04-26 14:26:48 +01:00
parent 36ed622a26
commit 7c6abc33fe
6 changed files with 24 additions and 9 deletions

View File

@ -15,3 +15,17 @@ resource "vultr_firewall_rule" "grimes_ping" {
protocol = "icmp"
network = "0.0.0.0/0"
}
resource "vultr_firewall_rule" "grimes_web" {
firewall_group_id = vultr_firewall_group.grimes.id
protocol = "tcp"
from_port = 80
network = "0.0.0.0/0"
}
resource "vultr_firewall_rule" "grimes_web_secure" {
firewall_group_id = vultr_firewall_group.grimes.id
protocol = "tcp"
from_port = 443
network = "0.0.0.0/0"
}