summaryrefslogtreecommitdiffstats
path: root/pad-proxy/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'pad-proxy/tasks')
-rw-r--r--pad-proxy/tasks/main.yml16
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