Files
gotosocial-vps/nginx/zkreml.cz.conf

19 lines
442 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
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;
}
}