Created
September 28, 2020 19:49
-
-
Save flayder/3d644368795fccd63be0947451534fc7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
merge_slashes on; | |
if ($request_uri ~* "\/\/+") { | |
rewrite ^/(.*) $scheme://$host/$1 permanent; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment