fix: adds health-ping path to shlink web ui
This commit is contained in:
parent
9e453bd1e0
commit
3f873c855f
1 changed files with 10 additions and 4 deletions
|
|
@ -29,7 +29,6 @@
|
|||
|
||||
services.caddy.virtualHosts."ily.rs" = {
|
||||
extraConfig = ''
|
||||
redir / https://wynne.rs permanent
|
||||
reverse_proxy localhost:8080
|
||||
encode zstd gzip
|
||||
'';
|
||||
|
|
@ -37,9 +36,16 @@
|
|||
|
||||
services.caddy.virtualHosts."links.ily.rs" = {
|
||||
extraConfig = ''
|
||||
@health path /health-ping
|
||||
handle @health {
|
||||
respond 200
|
||||
}
|
||||
|
||||
handle {
|
||||
import tinyauth
|
||||
reverse_proxy localhost:8081
|
||||
encode zstd gzip
|
||||
}
|
||||
'';
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue