feat(hetzner): add my api and update website
This commit is contained in:
@@ -249,13 +249,24 @@ in {
|
||||
'';
|
||||
};
|
||||
|
||||
"api.severijnse.eu" = {
|
||||
extraConfig = ''
|
||||
import security_headers
|
||||
# Machine-facing license API for the Android app: no antiScrape
|
||||
# bot-blocking (it would drop legitimate non-browser clients) and no
|
||||
# admin_gate (endpoints are protected by the bearer token).
|
||||
reverse_proxy 127.0.0.1:3004
|
||||
encode zstd gzip
|
||||
'';
|
||||
};
|
||||
|
||||
"releases.severijnse.eu" = {
|
||||
extraConfig = ''
|
||||
import security_headers
|
||||
root * /srv/releases
|
||||
file_server browse
|
||||
encode zstd gzip
|
||||
|
||||
|
||||
handle /private* {
|
||||
import release_gate
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user