feat(storage01): add s3-admin.dgnum.eu
This is the administration endpoint of the S3, you can create new buckets and more, from there. Signed-off-by: Ryan Lahfa <ryan@dgnum.eu>
This commit is contained in:
parent
d76e655174
commit
de6742aa0d
2 changed files with 13 additions and 0 deletions
|
@ -77,6 +77,17 @@ in
|
|||
users.groups.garage = { };
|
||||
|
||||
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} = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
|
|
|
@ -87,6 +87,8 @@ let
|
|||
"*.s3"
|
||||
"cdn"
|
||||
"s3"
|
||||
# The administration endpoint for Garage.
|
||||
"s3-admin"
|
||||
];
|
||||
|
||||
rescue01.dual = [
|
||||
|
|
Loading…
Reference in a new issue