mozilla / ssl-config-generator

Mozilla SSL Configuration Generator
https://ssl-config.mozilla.org/
Mozilla Public License 2.0
358 stars 59 forks source link

Nginx: Wrap "return 301" inside a `location` block #123

Closed nmxcgeo closed 3 years ago

nmxcgeo commented 3 years ago

This fixes #95.

I have tested the config in an nginx/1.14.2 on Debian. I have not checked if the code still builds, but I don't see, how modifying a template this way, would influence this.

Thanks to @runapp for the suggestion.

Greetings Nmxosm