mirror of
https://github.com/Noratrieb/vps.git
synced 2026-01-16 17:45:14 +01:00
improve web server
This commit is contained in:
parent
fca0d6d3f4
commit
67c6a7f9a0
3 changed files with 9 additions and 1 deletions
|
|
@ -31,19 +31,23 @@ www.noratrieb.dev {
|
|||
}
|
||||
|
||||
uptime.noratrieb.dev {
|
||||
encode zstd gzip
|
||||
reverse_proxy * localhost:5010
|
||||
}
|
||||
|
||||
hugo-chat.noratrieb.dev {
|
||||
encode zstd gzip
|
||||
reverse_proxy * localhost:5002
|
||||
}
|
||||
|
||||
api.hugo-chat.noratrieb.dev {
|
||||
import cors https://hugo-chat.noratrieb.dev "DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type"
|
||||
encode zstd gzip
|
||||
reverse_proxy * localhost:5001
|
||||
}
|
||||
|
||||
bisect-rustc.noratrieb.dev {
|
||||
encode zstd gzip
|
||||
reverse_proxy * localhost:5005
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -14,6 +14,8 @@
|
|||
}
|
||||
|
||||
${config.networking.hostName}.infra.noratrieb.dev {
|
||||
encode zstd gzip
|
||||
header -Last-Modified
|
||||
root * ${./debugging-page}
|
||||
file_server
|
||||
}
|
||||
|
|
@ -22,6 +24,8 @@
|
|||
if name == "vps1" then
|
||||
builtins.readFile ./Caddyfile + ''
|
||||
noratrieb.dev {
|
||||
encode zstd gzip
|
||||
header -Last-Modified
|
||||
root * ${website {inherit pkgs slides blog;}}
|
||||
file_server
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue