fix(outline): Tweak stuff to make uploads work
Currently not working
This commit is contained in:
parent
f00747b5f1
commit
c57f4e71b8
2 changed files with 6 additions and 0 deletions
|
@ -5,6 +5,11 @@
|
||||||
services.caddy.virtualHosts."s3.gasdev.fr *.s3.gasdev.fr" = {
|
services.caddy.virtualHosts."s3.gasdev.fr *.s3.gasdev.fr" = {
|
||||||
logFormat = "output file ${config.services.caddy.logDir}/access-s3.gasdev.fr.log";
|
logFormat = "output file ${config.services.caddy.logDir}/access-s3.gasdev.fr.log";
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
|
header {
|
||||||
|
?Access-Control-Allow-Headers *
|
||||||
|
?Access-Control-Allow-Methods *
|
||||||
|
?Access-Control-Allow-Origin *
|
||||||
|
}
|
||||||
reverse_proxy http://127.0.0.1:3900
|
reverse_proxy http://127.0.0.1:3900
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
|
@ -43,6 +43,7 @@
|
||||||
accessKey = "GKd60d7ca02de8478633442cf6";
|
accessKey = "GKd60d7ca02de8478633442cf6";
|
||||||
secretKeyFile = config.sops.secrets."outline/S3_SECRET_KEY".path;
|
secretKeyFile = config.sops.secrets."outline/S3_SECRET_KEY".path;
|
||||||
region = "garage";
|
region = "garage";
|
||||||
|
forcePathStyle = false;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue