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"
"cache.prism.r"
"cgit.prism.r"
"flix.r"
"paste.r"
"p.r"
"search.r"

View file

@ -305,6 +305,12 @@ with import <stockholm/lib>;
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" = {
locations."^~ /flix/".extraConfig = ''
if ($scheme != "https") {