commit 32798fe1d68b1dec75fe8652c2d0d80260f0a291
parent ff508dca2b5b90486c1fcb682c1d14abfbd20414
Author: mtmn <miro@haravara.org>
Date: Wed, 20 May 2026 19:41:41 +0200
chore: remove protocol from static.nix
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/hosts/nixaran/configuration.nix b/hosts/nixaran/configuration.nix
Binary files differ.
diff --git a/modules/services/static.nix b/modules/services/static.nix
@@ -39,7 +39,7 @@ in {
handle @root {
route {
rewrite * /${opt.bucket}/index.html
- reverse_proxy https://${opt.endpoint}
+ reverse_proxy ${opt.endpoint}
}
}
''
@@ -48,7 +48,7 @@ in {
handle {
route {
rewrite * /${opt.bucket}{http.request.uri.path}
- reverse_proxy https://${opt.endpoint} {
+ reverse_proxy ${opt.endpoint} {
@error status 5xx 4xx
handle_response @error {
header Location /