Close h5bp/server-configs-nginx#52.
ensure to avoid any use of if as that's "extremely inefficient" and eliminate redirects where possible