blog: maintain two separate builds of the site; one for tor, one for https

This commit is contained in:
2023-01-16 17:17:07 -06:00
parent 1028023b8b
commit ca6fdaeff3
7 changed files with 15 additions and 6 deletions

View File

@@ -27,8 +27,6 @@
template:
src: templates/tor.conf
dest: /etc/nginx/conf.d/tor-{{ domain }}.conf
force: no
notify: setup nginx
- name: Enable Nginx
systemd:

View File

@@ -1,5 +1,5 @@
server {
root /var/www/{{ domain }}/public;
root /var/www/{{ domain }}/tor;
index index.html index.htm;
location / {