diff --git a/salt/nginx/etc/nginx.conf b/salt/nginx/etc/nginx.conf index f384caf94..5a787d96c 100644 --- a/salt/nginx/etc/nginx.conf +++ b/salt/nginx/etc/nginx.conf @@ -260,7 +260,7 @@ http { } {% if 'api' in salt['pillar.get']('features', []) %} - location ~* (^/oauth2/token.*|^.well-known/jwks.json|^.well-known/openid-configuration) { + location ~* (^/oauth2/token.*|^/\.well-known/jwks.json|^/\.well-known/openid-configuration) { limit_req zone=auth_throttle burst={{ NGINXMERGED.config.throttle_login_burst }} nodelay; limit_req_status 429; proxy_pass http://{{ GLOBALS.manager }}:4444;