coursework/ansible/roles/site_setup/tasks/configure_proxy.yml
2024-11-11 23:16:26 +03:00

11 lines
221 B
YAML

- 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