Skip to content
Snippets Groups Projects
Commit a5733b98 authored by Florian Sesser's avatar Florian Sesser
Browse files

Issuer NGINX: Pass less scanning noise to back end

parent 70260e31
No related branches found
No related tags found
3 merge requests!180merge develop into production,!177merge develop into staging,!146Manage access to payment metrics
Pipeline #972 failed
......@@ -243,7 +243,10 @@ in {
serverAliases = builtins.tail cfg.domains;
enableACME = cfg.tls;
forceSSL = cfg.tls;
locations."/" = {
locations."/v1/" = {
# Only forward requests beginning with /v1/ so
# we pass less scanning spam on to our backend
# Want a regex instead? try locations."~ /v\d+/"
proxyPass = "http://127.0.0.1:${internalHttpPort}";
};
locations."/metrics" = {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment