fix: trusted-proxies, nginx configs, bootstrap ssh/ufw, add zkreml.cz template

This commit is contained in:
2026-03-07 11:45:28 +01:00
parent 9fd66279f4
commit ed0133e943
5 changed files with 62 additions and 25 deletions

18
nginx/zkreml.cz.conf Normal file
View File

@@ -0,0 +1,18 @@
server {
listen 80;
listen [::]:80;
server_name ACCOUNT_DOMAIN;
# Webfinger a discovery endpointy přesměruj na GoToSocial instanci
location = /.well-known/webfinger {
return 301 https://GTS_HOST$request_uri;
}
location = /.well-known/nodeinfo {
return 301 https://GTS_HOST$request_uri;
}
location = /.well-known/host-meta {
return 301 https://GTS_HOST$request_uri;
}
}