Skip to content

Commit

Permalink
removing an nginx group, adding another instance
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcalalang committed Sep 18, 2023
1 parent 8fdafe3 commit 83951c9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#! /bin/bash

# Install the NGINX Agent and bind to instance group api
curl -k https://${nms-hostname}/install/nginx-agent > install.sh && sudo sh install.sh -g azure-api-gateways-cluster && sudo systemctl start nginx-agent
curl -k https://${nms-hostname}/install/nginx-agent > install.sh && sudo sh install.sh -g azure-api-gateways && sudo systemctl start nginx-agent

# install nginx modules

Expand Down Expand Up @@ -33,7 +33,7 @@ EOF
cat << EOF | sudo tee -a /etc/nginx-agent/agent-dynamic.conf
tags:
- azure-api-gateways-cluster
- azure-api-gateways
EOF

Expand Down
2 changes: 1 addition & 1 deletion nginx/terraform/infrastructure/variables.auto.tfvars
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ nginx-instance-count = 1
nginx-api-gw-offer = "nginx_plus_with_nginx_app_protect_developer"
nginx-api-gw-sku = "nginx_plus_with_nginx_app_protect_dev_ubuntu2004"
nginx-api-gw-version = "6.1.0"
nginx-api-gw-count = 1
nginx-api-gw-count = 2

0 comments on commit 83951c9

Please sign in to comment.