https://github.com/awsdocs/elastic-beanstalk-samples
This repository contains code and configuration samples (e.g. .ebextensions) for AWS Elastic Beanstalk.
https://github.com/awsdocs/elastic-beanstalk-samples
Last synced: 8 months ago
JSON representation
This repository contains code and configuration samples (e.g. .ebextensions) for AWS Elastic Beanstalk.
- Host: GitHub
- URL: https://github.com/awsdocs/elastic-beanstalk-samples
- Owner: awsdocs
- License: apache-2.0
- Created: 2015-07-22T19:55:16.000Z (over 10 years ago)
- Default Branch: main
- Last Pushed: 2025-01-31T19:55:52.000Z (11 months ago)
- Last Synced: 2025-04-11T00:45:27.394Z (9 months ago)
- Language: Python
- Homepage:
- Size: 947 KB
- Stars: 1,230
- Watchers: 67
- Forks: 886
- Open Issues: 20
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
```
###################################################################################################
#### Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
####
#### Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
#### except in compliance with the License. A copy of the License is located at
####
#### http://aws.amazon.com/apache2.0/
####
#### or in the "license" file accompanying this file. This file is distributed on an "AS IS"
#### BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
#### License for the specific language governing permissions and limitations under the License.
###################################################################################################
###################################################################################################
#### These configuration files configure Nginx for Java Tomcat environments to rate limit the
#### amount of unique inbound connections to 1 connection per second with a burst of 10.
####
#### The directory structure and configuration files are to be placed inside your .ebextensions
#### folder. i.e:
#### .ebextensions/nginx/conf.d/rate-limit.conf
#### .ebextensions/nginx/conf.d/elasticbeanstalk/error429.conf
####
#### Note the default reverse proxy for Java Tomcat is Apache. To enable Nginx have a look here:
#### http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/java-tomcat-platform.html#java-tomcat-proxy-nginx
####
#### Note there are different HTTP headers used by Nginx for Load Balanced and Single Instance
#### Environments for detecting the source IP address. Load Balanced environments will use the
#### "HTTP_X_FORWARDED_FOR" header and Single Instance will use "REMOTE_ADDR". Configure this for
#### your environment in .ebextensions/nginx/conf.d/rate-limit.conf.
####
#### Information on the EB extension configuration directory structure for the reverse proxy:
#### Configuring the Reverse Proxy:
#### http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/java-tomcat-platform.html#java-tomcat-proxy
###################################################################################################
```