l: add flix.r alias

This commit is contained in:
lassulus 2021-08-15 18:49:23 +02:00
parent 1320d41152
commit 0d84e80619
2 changed files with 7 additions and 0 deletions

View File

@ -65,6 +65,7 @@ in {
"prism.r" "prism.r"
"cache.prism.r" "cache.prism.r"
"cgit.prism.r" "cgit.prism.r"
"flix.r"
"paste.r" "paste.r"
"p.r" "p.r"
"search.r" "search.r"

View File

@ -305,6 +305,12 @@ with import <stockholm/lib>;
localAddress = "10.233.2.14"; localAddress = "10.233.2.14";
}; };
services.nginx.virtualHosts."flix.r" = {
locations."/".extraConfig = ''
proxy_pass http://10.233.2.14:80/;
proxy_set_header Accept-Encoding "";
'';
};
services.nginx.virtualHosts."lassul.us" = { services.nginx.virtualHosts."lassul.us" = {
locations."^~ /flix/".extraConfig = '' locations."^~ /flix/".extraConfig = ''
if ($scheme != "https") { if ($scheme != "https") {