coursework/ansible/roles/site_setup/tasks/configure_proxy.yml

11 lines
221 B
YAML
Raw Normal View History

2024-11-11 20:16:26 +00:00
- name: Configure Nginx as HTTPS proxy
template:
src: proxy.conf.j2
dest: /etc/nginx/conf.d/proxy.conf
tags: proxy
- name: Restart Nginx
service:
name: nginx
state: restarted
tags: proxy