Created
January 30, 2026 00:48
-
-
Save vu3jej/1171395196301e5026c2160f36cda6f1 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
| location ^~ /.well-known/ { | |
| # Alias must point to the folder itself and end with a slash | |
| alias /home/ubuntu/static_assets/.well-known/; | |
| # Ensure browsers treat them as JSON | |
| default_type application/json; | |
| # Allow cross-origin (needed for some validators) | |
| add_header Access-Control-Allow-Origin "*"; | |
| # Force JSON for the Apple file specifically | |
| location ~ /apple-app-site-association$ { | |
| default_type application/json; | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment