An open API service indexing awesome lists of open source software.

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.

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
###################################################################################################
```