ICTU / quality-time

Software quality monitoring for teams and projects
Apache License 2.0
49 stars 15 forks source link

Move add_header directives to location blocks in proxy config. #9171

Closed fniessink closed 3 months ago

fniessink commented 3 months ago

Move the add_header directives to the location blocks in the nginx proxy config, because add_header directives in location blocks override add_header directives in the server block. See e.g. https://serverfault.com/questions/400197/add-header-directives-in-location-overwriting-add-header-directives-in-server.

Fixes #8929.

sonarcloud[bot] commented 3 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud