worker_processes 1; pid /run/rmm-install-ingress/nginx.pid; error_log stderr warn; events { worker_connections 128; } http { access_log off; client_body_temp_path /run/rmm-install-ingress/client; proxy_temp_path /run/rmm-install-ingress/proxy; fastcgi_temp_path /run/rmm-install-ingress/fastcgi; uwsgi_temp_path /run/rmm-install-ingress/uwsgi; scgi_temp_path /run/rmm-install-ingress/scgi; client_max_body_size 1k; server_tokens off; keepalive_timeout 10; server { listen 0.0.0.0:8443 ssl; listen [::]:8443 ssl; server_name discovery.ease-technologies.de; ssl_protocols TLSv1.2 TLSv1.3; ssl_certificate /run/credentials/rmm-install-ingress.service/chain.pem; ssl_certificate_key /run/credentials/rmm-install-ingress.service/key.pem; proxy_ssl_trusted_certificate /run/credentials/rmm-install-ingress.service/gateway-ca.pem; proxy_ssl_name discovery.ease-technologies.de; proxy_ssl_server_name on; proxy_ssl_verify on; proxy_buffering off; proxy_pass_request_body off; proxy_pass_request_headers off; proxy_set_header Host discovery.ease-technologies.de; proxy_set_header Content-Length ""; proxy_set_header Authorization $http_authorization; location ~ "^/(install/(linux\.sh|windows\.ps1)|agent/v1/bootstrap/(current|updater|releases/[0-9a-f-]{36}/artifacts/[0-9a-f-]{36}))$" { limit_except GET { deny all; } proxy_pass https://127.0.0.1:18444$uri$is_args$args; } location / { return 404; } } }