1
1
Fork 0

empyrean: revproxy mirror to catacomb

Keeping a full local copy of the mirror is unsustainable without expanding empyrean's relatively small storage
This commit is contained in:
Jaculabilis 2024-01-17 12:32:06 +00:00
parent 471930cb64
commit 8335a93596
1 changed files with 9 additions and 1 deletions

View File

@ -62,8 +62,16 @@
# Static pages
"wedding.ktvb.site" = static-site "wedding.ktvb.site";
"www.ktvb.site" = static-site "www.ktvb.site";
"mirror.alogoulogoi.com" = static-site "mirror.alogoulogoi.com";
"www.alogoulogoi.com" = static-site "www.alogoulogoi.com";
# mirror revproxy
"mirror.alogoulogoi.com" = {
enableACME = true;
forceSSL = true;
extraConfig = ''
access_log /var/log/nginx/access_mirror.alogoulogoi.com.log;
'';
locations."/".proxyPass = "http://mirror.catacomb.home:7474/";
};
# Deny all other subdomains
"alogoulogoi.com" = {
default = true;