Skip to content

Commit

Permalink
update nginx instance for nginxone
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcalalang committed Jun 11, 2024
1 parent 9763251 commit 09469e9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
#! /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-instances && 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

curl https://agent.connect.nginx.com/nginx-agent/install | DATA_PLANE_KEY="hsa2dnJ7yW3IdQ70qmPm7fwWhB4dh9ofw3LwsKllttM=" sh -s -- -y

# install nginx modules

Expand Down
8 changes: 4 additions & 4 deletions nginx/terraform/infrastructure/variables.auto.tfvars
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ nms-hostname = "10.0.5.246"

nginx-instance-offer = "nginx_plus_with_nginx_app_protect_developer"
nginx-instance-sku = "nginx_plus_with_nginx_app_protect_dev_ubuntu2004"
nginx-instance-version = "6.2.0"
nginx-instance-count = 1
nginx-instance-version = "7.0.0"
nginx-instance-count = 0

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.2.0"
nginx-api-gw-count = 3
nginx-api-gw-version = "7.0.0"
nginx-api-gw-count = 0

0 comments on commit 09469e9

Please sign in to comment.