Created
January 4, 2020 14:04
-
-
Save pandanote-info/972c38e8742a24bdcb2a25adff3b0ea8 to your computer and use it in GitHub Desktop.
mapを使ったIPアドレスによるアクセスコントロールリストの設定例(その2)。
This file contains 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
http { | |
(略) | |
server { | |
(略) | |
location /somewhere_to_restrict { | |
(前略) | |
if ($allowed = deny) { | |
return 404; | |
} | |
(後略) | |
} | |
(略) | |
} | |
(略) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment