I'm trying to implement amp update cache, but facing issue while accessing "apikey.pub" amp-project URL.
https://www-example-in.cdn.ampproject.org/c/s/www.example.in/.well-known/amphtml/apikey.pub
redirecting to
www.example.in/.well-known/amphtml/apikey.pub
I also try with
https://www-example-in.cdn.ampproject.org/r/s/www.example.in/.well-known/amphtml/apikey.pub
it's show error:
The requested URL /r/s/www.example.in/.well-known/amphtml/apikey.pub was not found on this server.
I have already put my public key on www.example.in/.well-known/amphtml/apikey.pub
.
Please help me to resolve this issue.
the address ./well-known/amphtml/apikey.pub
is an address on your website to store public key of signiture and must return text/plain header on response. you are try to make it on amp cache server!
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.