Created
March 16, 2015 20:31
-
-
Save LoadLow/2a7c7a5d9190d98b1a0b to your computer and use it in GitHub Desktop.
Nginx/Cloudflare pull authentication, Certificate and information here : https://origin-pull.cloudflare.com
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
if ($ssl_client_i_dn != "/C=US/O=CloudFlare, Inc./OU=Origin Pull/L=San Francisco/ST=California/CN=origin-pull.cloudflare.net") { | |
return 403; | |
} | |
ssl_verify_client on; | |
ssl_client_certificate /etc/nginx/ssl/origin-pull-ca.pem; | |
ssl_verify_depth 1; | |
if ($ssl_client_verify != "SUCCESS") { | |
return 403; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment