s3 cloudfront 应用程序代码:NoSuchKey 刷新
s3 cloudfront app Code: NoSuchKey on refreshing
我在 s3 中托管了我的 angular2 webapp。它也有云端。
它连接到 nodejs 作为后端,它在 AWS EBS 的不同机器上。
我的 Web 应用程序工作 fine.But 当我刷新任何页面时,它会抛出 404 Not Found 并显示以下消息。
Code: NoSuchKey
Message: The specified key does not exist.
Key: user/adduser/edit
RequestId: CA306FFABB30FB75
HostId: WAp7/BZMHH0UpE3z2dJLJT4gqEwv7u/LKbFTUuHH86lRyReLXvODLgTuTw+3emnTJ3jDj2VpiYo=
你能帮忙解决这个问题吗?
我不确定 do.But 它是否解决了我的问题。
我将 s3 404 重定向 url 配置为我的 index.html.ie 将我的 404 重定向指向 index.html 本身。成功了。
我在 s3 中托管了我的 angular2 webapp。它也有云端。 它连接到 nodejs 作为后端,它在 AWS EBS 的不同机器上。
我的 Web 应用程序工作 fine.But 当我刷新任何页面时,它会抛出 404 Not Found 并显示以下消息。
Code: NoSuchKey
Message: The specified key does not exist.
Key: user/adduser/edit
RequestId: CA306FFABB30FB75
HostId: WAp7/BZMHH0UpE3z2dJLJT4gqEwv7u/LKbFTUuHH86lRyReLXvODLgTuTw+3emnTJ3jDj2VpiYo=
你能帮忙解决这个问题吗?
我不确定 do.But 它是否解决了我的问题。 我将 s3 404 重定向 url 配置为我的 index.html.ie 将我的 404 重定向指向 index.html 本身。成功了。