summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSacha Chua <sacha@sachachua.com>2025-01-23 08:59:54 -0500
committerSacha Chua <sacha@sachachua.com>2025-01-23 08:59:54 -0500
commit60504b35c1b37c7af4fa3f38f8f246109044a3a4 (patch)
treebdfe895b588eeec8ccb86a6b14473a2657347e80
parenta4f8f57574b405bcbe128809647c9e4a2a511cef (diff)
downloademacsconf-ansible-60504b35c1b37c7af4fa3f38f8f246109044a3a4.tar.xz
emacsconf-ansible-60504b35c1b37c7af4fa3f38f8f246109044a3a4.zip
nginx config for live
-rw-r--r--roles/live/tasks/main.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/roles/live/tasks/main.yml b/roles/live/tasks/main.yml
index cb0029a..8ff5903 100644
--- a/roles/live/tasks/main.yml
+++ b/roles/live/tasks/main.yml
@@ -7,3 +7,11 @@
loop:
- "{{ emacsconf_year }}"
- "{{ emacsconf_year }}/watch"
+- name: Set up nginx.conf
+ template:
+ src: live.emacsconf.org.conf
+ dest: /etc/nginx/sites-available/live.emacsconf.org
+- name: Reload nginx
+ service:
+ name: nginx
+ state: reloaded