Skip to content

Commit

Permalink
updating examples
Browse files Browse the repository at this point in the history
  • Loading branch information
jpl-btlunsfo committed May 30, 2024
1 parent 4c8364c commit a1770a7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ RewriteRule /management/(.*) ws://internal-unity-mc-alb-hzs9j-1269535099.us-west
This repository configures only one virtualhost (both open and close directives), but others may be added. This can be accomplished by simply adding more SSM parameters:
```
resource "aws_ssm_parameter" "managementproxy_openvirtualhost" {
name = "/unity/${var.project}/${var.venue}/cs/management/proxy/configurations/001-openvirtualhost"
name = "/unity/${var.project}/${var.venue}/cs/management/proxy/configurations/001-openvhost8080"
type = "String"
value = <<-EOT
<VirtualHost *:8080>
Expand All @@ -86,17 +86,17 @@ EOT
resource "aws_ssm_parameter" "managementproxy_closevirtualhost" {
depends_on = [aws_ssm_parameter.managementproxy_openvirtualhost]
name = "/unity/${var.project}/${var.venue}/cs/management/proxy/configurations/100-closevirtualhost"
name = "/unity/${var.project}/${var.venue}/cs/management/proxy/configurations/100-closevhost8080"
type = "String"
value = <<-EOT
</VirtualHost>
EOT
}
```
NOTE the names of each of these SSM parameters:
- 001-openvirtualhost
- 001-openvhost8080
- 010-management
- 100-closevirtualhost
- 100-closevhost8080

For additional virtualhosts, please pick an ordinal number range that is *greater* than 100 (e.g. 101-openTestHost, 120-closeTestHost).

Expand Down

0 comments on commit a1770a7

Please sign in to comment.