nginx.conf/snippets.d/default.conf
Arija A. c4f0aaea5f
Initialise Nginx config
Signed-off-by: Arija A. <ari@ari.lt>
2025-09-25 22:45:48 +03:00

40 lines
1.3 KiB
Text

add_header Content-Type "text/plain" always;
include /etc/nginx/snippets.d/paranoia-headers.conf;
location = /robots.txt {
return 200 "User-agent: *
Disallow: /";
}
location / {
return 403 "--- SECURITY WARNING ---
ACCESS DENIED: The domain '$host' is not authorised to use the services of
ari.lt (arija664fy4c6zhfbsytbqcbz5gcc3qjuwaz4ue6cium5c5fo2fgakyd.onion).
You are seeing this message because this domain is improperly configured to point to ari.lt's
IP address, which is not permitted by the organisation.
Redirecting to this IP without authorization violates ari.lt's policies.
PLEASE EXIT THIS WEBSITE IMMEDIATELY.
For authorised access, please visit the official ari.lt website at:
* Clearnet: https://ari.lt/
* TOR: http://arija664fy4c6zhfbsytbqcbz5gcc3qjuwaz4ue6cium5c5fo2fgakyd.onion/
If you are the administrator of this domain and believe this message is in error,
please verify your DNS settings or contact ARI.LT support:
* Email: ari@ari.lt
* XMPP/Jabber: ari@ari.lt
* BlueSky: @ari.lt
* Telegram: @arija64
* Signal: @arija.70
https://signal.me/#eu/ZrfkVlLstLTERi6bzuFiWvmVYVfWxgixmnXGVR46qXnGDKZxGhZCPKMDJU9dVQMx
* Contact form: https://ari.lt/contact
Continuous negligence of this warning will result in a temporary IP address ban.
--- YOU HAVE BEEN WARNED ---";
}