Created
April 7, 2017 18:17
-
-
Save 3zzy/9ac91c76828d21cb910cff37d6c6abd5 to your computer and use it in GitHub Desktop.
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
#nginx config for apple pay domain verification | |
location /.well-known/apple-developer-merchantid-domain-association { | |
allow all; | |
autoindex on; | |
root /var/www/example.com/html; | |
add_header Content-Type text/plain; | |
} |
This works for me:
location ^~ /.well-known/ {
alias /var/www/yourdomain.com/html/;
index apple-developer-merchantid-domain-association;
autoindex on;
}
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I did this building the react app and used this: