diff --git a/ansible/roles/trmm_dev/tasks/main.yml b/ansible/roles/trmm_dev/tasks/main.yml index a3d3e2d4..0eb0e623 100644 --- a/ansible/roles/trmm_dev/tasks/main.yml +++ b/ansible/roles/trmm_dev/tasks/main.yml @@ -329,7 +329,7 @@ tags: nginx become: yes ansible.builtin.apt_key: - url: https://nginx.org/packages/keys/nginx_signing.key + url: https://nginx.org/keys/nginx_signing.key state: present - name: add nginx repo diff --git a/install.sh b/install.sh index b4f21793..0c248547 100644 --- a/install.sh +++ b/install.sh @@ -244,7 +244,7 @@ print_green 'Installing Nginx' sudo mkdir -p /etc/apt/keyrings -wget -qO - https://nginx.org/packages/keys/nginx_signing.key | sudo gpg --dearmor -o /etc/apt/keyrings/nginx-archive-keyring.gpg +wget -qO - https://nginx.org/keys/nginx_signing.key | sudo gpg --dearmor -o /etc/apt/keyrings/nginx-archive-keyring.gpg nginxrepo="$( cat </dev/null - wget -qO - https://nginx.org/packages/keys/nginx_signing.key | sudo gpg --dearmor -o /etc/apt/keyrings/nginx-archive-keyring.gpg + wget -qO - https://nginx.org/keys/nginx_signing.key | sudo gpg --dearmor -o /etc/apt/keyrings/nginx-archive-keyring.gpg sudo apt update sudo apt install -y nginx fi