Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't access static files behind Cloudfront #650

Open
mauricevancooten opened this issue May 14, 2023 · 0 comments
Open

Can't access static files behind Cloudfront #650

mauricevancooten opened this issue May 14, 2023 · 0 comments

Comments

@mauricevancooten
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant