Proxying a new container registry service
Some checks failed
Ansible Linting / ansible-lint (push) Failing after 6s
Secops Linting and Safety Checks / checkov-scan-s3 (push) Failing after 19s

This commit is contained in:
shockrah 2025-05-23 00:31:00 -07:00
parent 08560c945b
commit 3f2e6d86f6
3 changed files with 9 additions and 0 deletions

View File

@ -5,6 +5,7 @@
127.0.1.1 nigel.local
127.0.1.1 nomad.nigel.local
127.0.1.1 sanity.nigel.local
127.0.1.1 ncr.nigel.local
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback

View File

@ -0,0 +1,6 @@
server {
server_name ncr.nigel.local;
location / {
proxy_pass http://localhost:5000;
}
}

View File

@ -14,6 +14,7 @@
loop:
- nomad.conf
- sanity.conf
- ncr.conf
- name: Link the nomad.conf to sites-enabled
ansible.builtin.file:
path: "/etc/nginx/sites-enabled/{{ item }}"
@ -23,6 +24,7 @@
loop:
- nomad.conf
- sanity.conf
- ncr.conf
- name: Restart nginx
ansible.builtin.systemd_service:
name: nginx