Skip to content

Instantly share code, notes, and snippets.

@3zzy
Created April 7, 2017 18:17
Show Gist options
  • Save 3zzy/9ac91c76828d21cb910cff37d6c6abd5 to your computer and use it in GitHub Desktop.
Save 3zzy/9ac91c76828d21cb910cff37d6c6abd5 to your computer and use it in GitHub Desktop.
#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;
}
@radiolondra
Copy link

radiolondra commented Nov 15, 2023

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