CodeGenieApp / CodeGenieApp/serverless-express

Can't access static files behind Cloudfront

オープン
#650 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
JavaScript
スター
5.3k
フォーク
676
PR マージ指標
30日以内にマージされた PR はありません

説明

I have used @vendia/serverless-express to serve my Express app on a Lambda function behind APIGateway. I'm able to access the website and https://example.com.com/robots.txt . When I put a Cloudfront distribution in front of API Gateway I can still access the website but not the robots.txt. It just shows the homepage.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

Issue に記載されている CloudFront ディストリビューションと API Gateway のセットアップから始め、その後、CloudFront 経由でウェブサイトと robots.txt へのリクエストを再現します。robots.txt へのリクエストがホームページではなく静的ファイルを返せば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
aws, express, javascript
領域
api, backend, cloud
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
30/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。