From 8024842def28dd151759ee46cd160c7794463aef Mon Sep 17 00:00:00 2001 From: Sacha Chua Date: Sat, 15 Oct 2022 22:16:28 -0400 Subject: Improve pad proxy with templated config, support SSL on pad.emacsconf.org --- pad-proxy/tasks/main.yml | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) (limited to 'pad-proxy/tasks') diff --git a/pad-proxy/tasks/main.yml b/pad-proxy/tasks/main.yml index d47573a..8de72df 100644 --- a/pad-proxy/tasks/main.yml +++ b/pad-proxy/tasks/main.yml @@ -9,19 +9,13 @@ - name: Add proxy configuration template: src: etherpad.nginx.conf - dest: /etc/nginx/sites-available/etherpad.conf - when: not use_wikimedia - - name: Add rewrite configuration - template: - src: wikimedia.etherpad.nginx.conf - dest: /etc/nginx/sites-available/etherpad.conf - when: use_wikimedia + dest: /etc/nginx/sites-available/pad.emacsconf.org - name: Enable site file: - src: /etc/nginx/sites-available/etherpad.conf - dest: /etc/nginx/sites-enabled/etherpad.conf + src: /etc/nginx/sites-available/pad.emacsconf.org + dest: /etc/nginx/sites-enabled/pad.emacsconf.org state: link - - name: Restart nginx + - name: Reload nginx service: name: nginx - state: restarted + state: reloaded -- cgit v1.2.3