Fix redirect

This commit is contained in:
2023-10-30 23:02:14 +01:00
parent d52af606dd
commit 4d43d9e8f6
+12 -12
View File
@@ -126,18 +126,18 @@ resource "inwx_nameserver_record" "twomartens_eu_soa" {
// redirect 2martens.eu to 2martens.de // redirect 2martens.eu to 2martens.de
resource "inwx_nameserver_record" "twomartens_eu_root_redirect" { resource "inwx_nameserver_record" "twomartens_eu_root_redirect" {
domain = "2martens.eu" domain = "2martens.eu"
name = "" name = ""
content = "https://2martens.de" content = "https://2martens.de"
type = "URL" type = "URL"
prio = 301 url_redirect_type = "HEADER301"
ttl = 3600 ttl = 3600
} }
resource "inwx_nameserver_record" "twomartens_eu_www_redirect" { resource "inwx_nameserver_record" "twomartens_eu_www_redirect" {
domain = "2martens.eu" domain = "2martens.eu"
name = "www" name = "www"
content = "https://2martens.de" content = "https://2martens.de"
type = "URL" type = "URL"
prio = 301 url_redirect_type = "HEADER301"
ttl = 3600 ttl = 3600
} }