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:
parent
471930cb64
commit
8335a93596
|
@ -62,8 +62,16 @@
|
||||||
# Static pages
|
# Static pages
|
||||||
"wedding.ktvb.site" = static-site "wedding.ktvb.site";
|
"wedding.ktvb.site" = static-site "wedding.ktvb.site";
|
||||||
"www.ktvb.site" = static-site "www.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";
|
"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
|
# Deny all other subdomains
|
||||||
"alogoulogoi.com" = {
|
"alogoulogoi.com" = {
|
||||||
default = true;
|
default = true;
|
||||||
|
|
Loading…
Reference in New Issue