Publish password-TOTP WebUI and bearer MCP access with verified deployment

This commit is contained in:
2026-11-17 20:29:07 +01:00
parent 9fa0fb81ff
commit 5a93bc146f
18 changed files with 441 additions and 17 deletions
+26 -2
View File
@@ -11,13 +11,15 @@ http {
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;
client_max_body_size 256m;
limit_req_zone $binary_remote_addr zone=public_login:1m rate=6r/m;
server_tokens off;
keepalive_timeout 10;
server {
listen 0.0.0.0:8443 ssl;
listen [::]:8443 ssl;
server_name discovery.ease-technologies.de;
if ($host != discovery.ease-technologies.de) { return 421; }
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;
@@ -35,6 +37,28 @@ http {
limit_except GET { deny all; }
proxy_pass https://127.0.0.1:18444$uri$is_args$args;
}
location / { return 404; }
location = /auth/dev/login { return 404; }
location ~ ^/auth/oidc/ { return 404; }
location = /auth/local/login {
limit_req zone=public_login burst=6 nodelay;
limit_req_status 429;
client_max_body_size 4k;
proxy_pass_request_body on;
proxy_pass_request_headers on;
proxy_set_header Host $http_host;
proxy_ssl_trusted_certificate /run/credentials/rmm-install-ingress.service/api-ca.pem;
proxy_ssl_name localhost;
proxy_pass https://127.0.0.1:18445;
}
location / {
proxy_pass_request_body on;
proxy_pass_request_headers on;
proxy_set_header Host $http_host;
proxy_set_header Connection "";
proxy_ssl_trusted_certificate /run/credentials/rmm-install-ingress.service/api-ca.pem;
proxy_ssl_name localhost;
proxy_read_timeout 300s;
proxy_pass https://127.0.0.1:18445;
}
}
}