r3at_urls:
- r3.at
-wikirealraum.at_urls:
+wikirealraumat_urls:
- wiki.realraum.at
- w.r3.at
listen [::]:443 ssl;
listen 443 ssl;
- server_name {{ wikirealraum | join(' ') }};
+ server_name {{ wikirealraumat_urls | join(' ') }};
include snippets/acmetool.conf;
include snippets/ssl.conf;
- ssl_certificate /var/lib/acme/live/{{ wikirealraum[0] }}/fullchain;
- ssl_certificate_key /var/lib/acme/live/{{ wikirealraum[0] }}/privkey;
+ ssl_certificate /var/lib/acme/live/{{ wikirealraumat_urls[0] }}/fullchain;
+ ssl_certificate_key /var/lib/acme/live/{{ wikirealraumat_urls[0] }}/privkey;
include snippets/hsts.conf;
include snippets/security-headers.conf;
dest: /etc/systemd/system/{{ item }}
mode: 0644
-- name: install copy grical caching services
+- name: start copy grical caching timer
loop:
- cache_realraum_imported_calendar.timer
- - cache_realraum_imported_calendar.service
ansible.builtin.systemd:
name: "{{ item }}"
state: started
[Service]
Type=oneshot
-WorkingDirectory={{ r3status_ics_path }}
ExecStart=/usr/local/bin/cache_realraum_imported_calendar.sh
User=spaceapi
return 302 https://status.realraum.at/vis.js; # planned: 301
}
- location = /logo-re_open_100x100.png {
- return 302 https://status.realraum.at/logo-re_open_100x100.png; # planned: 301
- }
-
- location = /logo-re_empty_100x100.png {
- return 302 https://status.realraum.at/logo-re_empty_100x100.png; # planned: 301
- }
-
- location = /logo-red_250x250.png {
- return 302 https://status.realraum.at/logo-red_250x250.png; # planned: 301
- }
-
error_page 404 /404.html;
}