diff options
author | Sacha Chua <sacha@sachachua.com> | 2022-10-15 22:16:28 -0400 |
---|---|---|
committer | Sacha Chua <sacha@sachachua.com> | 2022-10-15 22:16:28 -0400 |
commit | 8024842def28dd151759ee46cd160c7794463aef (patch) | |
tree | 307795c10fa14b1168e1a8936f816e33e1b985f9 /pad-proxy/tasks | |
parent | 830f627d38a1476af3a96c554157ee95b03a2ba0 (diff) | |
download | emacsconf-ansible-8024842def28dd151759ee46cd160c7794463aef.tar.xz emacsconf-ansible-8024842def28dd151759ee46cd160c7794463aef.zip |
Improve pad proxy with templated config, support SSL on pad.emacsconf.org
Diffstat (limited to '')
-rw-r--r-- | pad-proxy/tasks/main.yml | 16 |
1 files changed, 5 insertions, 11 deletions
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 |