From c8e9b56cf3b7664e980f312b75c6bfac9b276703 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Mon, 3 Jan 2022 22:15:39 +0100 Subject: stuff --- data/nodes/gandalf.adrift.space.yaml | 51 ++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 data/nodes/gandalf.adrift.space.yaml (limited to 'data/nodes/gandalf.adrift.space.yaml') diff --git a/data/nodes/gandalf.adrift.space.yaml b/data/nodes/gandalf.adrift.space.yaml new file mode 100644 index 0000000..2f89cd6 --- /dev/null +++ b/data/nodes/gandalf.adrift.space.yaml @@ -0,0 +1,51 @@ +--- +nginx::package_name: nginx-mainline +nginx::http_cfg_append: + 'charset': utf-8 +nginx::mime_types_preserve_defaults: true +ngnix::mime_types: + 'text/plain': 'wiki txt' +nginx::include_modules_enabled: true + +nginx::nginx_servers: + "%{facts.hostname}": + ipv6_enable: true + listen_options: defalut_server + ipv6_listen_options: default_server + server_name: + - _ + www_root: /var/www/adrift.space + "repo.%{fqdn}": + ipv6_enable: true, + ipv6_listen_options: '', + server_name: + - "repo.%{fqdn}" + ssl_redirect: true, + www_root: /usr/net/repo + use_default_location: true + +nginx::nginx_locations: + '/': + try_files: + - '$uri' + - '$uri/' + - '=404', + ssl_only: true + autoindex: on + server: "%{fqdn}" + '/varselklotet': + server: "%{fqdn}" + location_alias: /home/hugo/wiki/varselklotet + +shiori::port: 8081 +shiori:group_members: + - hugo +shiori::nginx: + server_name: "bookmark.${fqdn}" + certname: "%{certname}" + +profiles::syncthing::enable_for: + - hugo + +profiles::gandalf_web::certname: "%{certname}" +profiles::transmission:nginx_server: "%{fqdn}" -- cgit v1.2.3