mirror of
https://github.com/daylinmorgan/oizys.git
synced 2025-02-23 03:45:50 -06:00
fix logo path handling
This commit is contained in:
parent
6d6959e3f4
commit
d78a333192
2 changed files with 9 additions and 2 deletions
|
@ -31,7 +31,7 @@
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body bg-ctp-base text-ctp-text un-cloak flex flex-col mt-15>
|
<body bg-ctp-base text-ctp-text un-cloak flex flex-col mt-15>
|
||||||
<img h-25% mx-auto src="daylin-nix-cache-logo.svg">
|
<img h-25% mx-auto src="/daylin-nix-cache-logo.svg">
|
||||||
<div mx-auto text-center>
|
<div mx-auto text-center>
|
||||||
<div>
|
<div>
|
||||||
<div>
|
<div>
|
||||||
|
|
|
@ -87,6 +87,7 @@ in
|
||||||
|
|
||||||
virtualHosts = {
|
virtualHosts = {
|
||||||
"attic.dayl.in".extraConfig = ''
|
"attic.dayl.in".extraConfig = ''
|
||||||
|
|
||||||
redir /oizys /
|
redir /oizys /
|
||||||
|
|
||||||
handle / {
|
handle / {
|
||||||
|
@ -100,10 +101,16 @@ in
|
||||||
'';
|
'';
|
||||||
|
|
||||||
"nix-cache.dayl.in".extraConfig = ''
|
"nix-cache.dayl.in".extraConfig = ''
|
||||||
handle / {
|
@frontend {
|
||||||
|
path /
|
||||||
|
path /daylin-nix-cache-logo.svg
|
||||||
|
}
|
||||||
|
|
||||||
|
handle @frontend {
|
||||||
root * ${static-nix-cache}
|
root * ${static-nix-cache}
|
||||||
file_server
|
file_server
|
||||||
}
|
}
|
||||||
|
|
||||||
handle /* {
|
handle /* {
|
||||||
reverse_proxy http://localhost:${harmoniaPort}
|
reverse_proxy http://localhost:${harmoniaPort}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue