Use proxypass

Not sure what I was thinking last night...
This commit is contained in:
Gene Liverman 2025-11-06 20:56:48 -05:00
parent f10139c24a
commit 7592ec6fff

View file

@ -72,13 +72,15 @@ in {
''; '';
}; };
"/api/event" = { "/api/event" = {
return = "301 https://stats.technicalissues.us/api/event"; proxyPass = "https://stats.technicalissues.us/api/event";
proxyWebsockets = true;
}; };
"/github" = { "/github" = {
return = "301 https://github.com/genebean"; return = "301 https://github.com/genebean";
}; };
"/js/script.outbound-links.js" = { "/js/script.outbound-links.js" = {
return = "301 https://stats.technicalissues.us/js/script.outbound-links.js"; proxyPass = "https://stats.technicalissues.us/js/script.outbound-links.js";
proxyWebsockets = true;
}; };
"/mastodon" = { "/mastodon" = {
return = "302 https://fosstodon.org/@genebean"; return = "302 https://fosstodon.org/@genebean";