gopkg proxy

This commit is contained in:
2025-12-29 21:03:49 +00:00
parent a186290513
commit 2d2dcff693
4 changed files with 45 additions and 3 deletions

View File

@@ -36,3 +36,6 @@ STALWART_DOMAIN=
############# Textarea #############
TEXTAREA_DOMAIN=
############# Gopkg Proxy #############
GOPKG_PROXY_DOMAIN=

View File

@@ -139,4 +139,13 @@
}
}
############## gopkg-proxy ##############
{$GOPKG_PROXY_DOMAIN} {
request_body {
max_size 2MB
}
reverse_proxy http://gopkg_proxy:8421
}
import Caddyfile.private