feat: prepare for Terranix PR #147
2 changed files with 15 additions and 0 deletions
|
@ -15,6 +15,8 @@ let
|
||||||
];
|
];
|
||||||
|
|
||||||
buckets = [
|
buckets = [
|
||||||
|
"monorepo-terraform-state"
|
||||||
|
|
||||||
"banda-website"
|
"banda-website"
|
||||||
"castopod-dgnum"
|
"castopod-dgnum"
|
||||||
"hackens-website"
|
"hackens-website"
|
||||||
|
@ -77,6 +79,17 @@ in
|
||||||
users.groups.garage = { };
|
users.groups.garage = { };
|
||||||
|
|
||||||
services.nginx.virtualHosts = {
|
services.nginx.virtualHosts = {
|
||||||
|
"s3-admin.dgnum.eu" = {
|
||||||
|
enableACME = true;
|
||||||
|
forceSSL = true;
|
||||||
|
|
||||||
|
locations."/".extraConfig = ''
|
||||||
|
proxy_pass http://127.0.0.1:3902;
|
||||||
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
|
proxy_set_header Host $host;
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
${host} = {
|
${host} = {
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
|
|
|
@ -87,6 +87,8 @@ let
|
||||||
"*.s3"
|
"*.s3"
|
||||||
"cdn"
|
"cdn"
|
||||||
"s3"
|
"s3"
|
||||||
|
# The administration endpoint for Garage.
|
||||||
|
"s3-admin"
|
||||||
];
|
];
|
||||||
|
|
||||||
rescue01.dual = [
|
rescue01.dual = [
|
||||||
|
|
Loading…
Add table
Reference in a new issue