https://github.com/discretetom/imgproxy-aws-sam-cn
AWS SAM template for deploying imgproxy to AWS Lambda in AWS China regions.
https://github.com/discretetom/imgproxy-aws-sam-cn
Last synced: about 2 months ago
JSON representation
AWS SAM template for deploying imgproxy to AWS Lambda in AWS China regions.
- Host: GitHub
- URL: https://github.com/discretetom/imgproxy-aws-sam-cn
- Owner: DiscreteTom
- License: mit
- Created: 2024-08-09T07:17:11.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-08-09T07:51:46.000Z (10 months ago)
- Last Synced: 2025-02-05T06:38:57.804Z (4 months ago)
- Language: Dockerfile
- Homepage:
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# imgproxy-aws-sam-cn
This is modified from [imgproxy/imgproxy-aws-sam](https://github.com/imgproxy/imgproxy-aws-sam/) to make this deployable in AWS China regions (this is also deployable in AWS commercial regions if you like).
Since there is no AWS Lambda Function URL in AWS China yet, and the AWS CloudFront in AWS China missed some features (e.g. origin shield), this project uses AWS API Gateway to expose the imgproxy service on AWS Lambda.
> [!IMPORTANT]
> Due to some regulatory policies in China, you have to use your custom domain name to access the service instead of the AWS API Gateway default domain name. See the [docs](https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-custom-domain-names.html) to configure a custom domain name.
> You custom domain name has to be an ICP licensed domain name.