-
Notifications
You must be signed in to change notification settings - Fork 1
/
04_load_balancer.config
29 lines (27 loc) · 1.83 KB
/
04_load_balancer.config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# 로드밸런서에 인증서 추가, 80(HTTP), 443(HTTPS) 로 왔을 때, 서버의 80 포트로만 적용이 되도록 함
###################################################################################################
#### 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.
###################################################################################################
###################################################################################################
#### Use this example when your environment has a Classic Load Balancer.
#### The example uses options in the aws:elb:listener namespace to configure an HTTPS listener on
#### port 443 with the specified certificate, and to forward the decrypted traffic to the instances
#### in your environment on port 80.
####
#### Replace theSSLCertificateId with the ARN of your certificate. The certificate can be one
#### that you created or uploaded in AWS Certificate Manager (ACM) (preferred), or one that you uploaded to IAM with the AWS CLI.
#### https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/configuring-https-elb.html#configuring-https-elb.configurationfile
###################################################################################################
option_settings:
aws:elb:listener:80:
ListenerProtocol: HTTP
InstancePort: 80