feat(deploy): add edge proxy HTTPS and AmneziaWG tunnel templates

This commit is contained in:
shira committed 2026-10-06 15:58:28 +03:00
1 parent bdc5855001
commit b8c3c83ed8
21 files changed
+954 -3

No files matched your search

@@ -0,0 +1,27 @@
# Catch-all for requests whose Host is not a served name, on the one address
# this edge uses. It keeps unknown names away from the application and
# stops the TLS handshake without presenting a certificate.
#
# Rendered from deploy/edge/nginx/00-default.conf.template. Do not edit the
# installed copy; change the template and render again.
# Access log without the query string: $uri never contains it, so values
# such as email addresses or tokens in a query are not written to the log.
log_format lincodex '$remote_addr [$time_local] "$request_method $uri" '
'$status $body_bytes_sent rt=$request_time '
'urt=$upstream_response_time id=$request_id';
server {
listen {{EDGE_LISTEN_IP}}:80 default_server;
server_name _;
server_tokens off;
# 444 closes the connection without a response.
return 444;
}
server {
listen {{EDGE_LISTEN_IP}}:443 ssl default_server;
server_name _;
server_tokens off;
ssl_reject_handshake on;
}