mirror of
https://github.com/phfroidmont/self-hosting.git
synced 2025-12-25 05:36:59 +01:00
Migrate website-marie to hcloud
This commit is contained in:
parent
2380553132
commit
8c6f7aef49
3 changed files with 19 additions and 0 deletions
10
dns.tf
10
dns.tf
|
|
@ -38,6 +38,7 @@ resource "hetznerdns_record" "jellyfin_a" {
|
|||
type = "A"
|
||||
ttl = 600
|
||||
}
|
||||
|
||||
resource "hetznerdns_record" "anderia_a" {
|
||||
zone_id = data.hetznerdns_zone.banditlair_zone.id
|
||||
name = "anderia"
|
||||
|
|
@ -45,6 +46,7 @@ resource "hetznerdns_record" "anderia_a" {
|
|||
type = "A"
|
||||
ttl = 600
|
||||
}
|
||||
|
||||
resource "hetznerdns_record" "arkadia_a" {
|
||||
zone_id = data.hetznerdns_zone.banditlair_zone.id
|
||||
name = "arkadia"
|
||||
|
|
@ -222,6 +224,14 @@ resource "hetznerdns_record" "froidmont_a" {
|
|||
ttl = 600
|
||||
}
|
||||
|
||||
resource "hetznerdns_record" "website_marie_a" {
|
||||
zone_id = data.hetznerdns_zone.froidmont_zone.id
|
||||
name = "osteopathie"
|
||||
value = data.hcloud_floating_ip.main_ip.ip_address
|
||||
type = "A"
|
||||
ttl = 600
|
||||
}
|
||||
|
||||
resource "hetznerdns_record" "froidmont_cname" {
|
||||
zone_id = data.hetznerdns_zone.froidmont_zone.id
|
||||
name = "*"
|
||||
|
|
|
|||
8
modules/website-marie.nix
Normal file
8
modules/website-marie.nix
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
{
|
||||
services.nginx.virtualHosts."osteopathie.froidmont.org" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
root = "/nix/var/data/website-marie";
|
||||
};
|
||||
}
|
||||
|
|
@ -10,6 +10,7 @@
|
|||
../modules/nextcloud.nix
|
||||
../modules/custom-backup-job.nix
|
||||
../modules/dokuwiki.nix
|
||||
../modules/website-marie.nix
|
||||
];
|
||||
|
||||
sops.secrets = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue