l: add flix.r alias
This commit is contained in:
parent
1320d41152
commit
0d84e80619
|
@ -65,6 +65,7 @@ in {
|
|||
"prism.r"
|
||||
"cache.prism.r"
|
||||
"cgit.prism.r"
|
||||
"flix.r"
|
||||
"paste.r"
|
||||
"p.r"
|
||||
"search.r"
|
||||
|
|
|
@ -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") {
|
||||
|
|
Loading…
Reference in a new issue