apiVersion: v1 kind: ConfigMap metadata: name: mta-sts namespace: mta-sts data: nginx.conf: | pid /tmp/nginx.pid; error_log /dev/stderr notice; events {} http { access_log /dev/stdout; error_log /dev/stderr notice; client_body_temp_path /tmp/client_body; proxy_temp_path /tmp/proxy; fastcgi_temp_path /tmp/fastcgi; uwsgi_temp_path /tmp/uwsgi; scgi_temp_path /tmp/scgi; server { listen 8080; server_name _; location = /healthz { default_type text/plain; return 200 "ok\n"; } location = /.well-known/mta-sts.txt { default_type text/plain; add_header Cache-Control "no-store" always; return 200 "version: STSv1\nmode: testing\nmx: mail.quorate.dev\nmax_age: 86400\n"; } location / { return 404; } } }