Serve Apple Pay verification file via nginx
Move domain association file to estore/public/.well-known/ so Next.js serves it, and add a /.well-known/ location block in nginx so Apple's servers can reach it at the domain root. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
92ab3a5633
commit
7d5f74a79e
File diff suppressed because one or more lines are too long
@ -61,6 +61,16 @@ http {
|
|||||||
proxy_set_header X-Forwarded-Proto $scheme;
|
proxy_set_header X-Forwarded-Proto $scheme;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# ── Apple Pay domain verification ────────────────────────────────────────
|
||||||
|
location ^~ /.well-known/ {
|
||||||
|
proxy_pass http://estore;
|
||||||
|
proxy_http_version 1.1;
|
||||||
|
proxy_set_header Host $host;
|
||||||
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
|
proxy_set_header X-Forwarded-Proto $scheme;
|
||||||
|
}
|
||||||
|
|
||||||
# ── eStore: /shop and everything under it ────────────────────────────────
|
# ── eStore: /shop and everything under it ────────────────────────────────
|
||||||
location ^~ /shop {
|
location ^~ /shop {
|
||||||
proxy_pass http://estore;
|
proxy_pass http://estore;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user