l: add flix.r alias
This commit is contained in:
parent
1320d41152
commit
0d84e80619
@ -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"
|
||||||
|
@ -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") {
|
||||||
|
Loading…
Reference in New Issue
Block a user