From 3e796eebdc1dd3ab96641bb147e4810d2fc41be5 Mon Sep 17 00:00:00 2001 From: Gordon GECOS Date: Fri, 2 Jun 2023 18:14:50 -0400 Subject: rename apache conf source file --- Makefile | 2 +- src/fossil-apache.conf~template | 10 ++++++++++ src/fossil.conf~template | 10 ---------- 3 files changed, 11 insertions(+), 11 deletions(-) create mode 100644 src/fossil-apache.conf~template delete mode 100644 src/fossil.conf~template diff --git a/Makefile b/Makefile index 6eed340..af4625c 100644 --- a/Makefile +++ b/Makefile @@ -68,7 +68,7 @@ install: systemctl reload ssh systemctl start --wait fossil-disable-apache@- ln -sf -t /var/lib $(USER_HOME)/.cache/fossil-httpd.S - install -m644 -t /etc/apache2/sites-available -- src/fossil.conf~template + install -m644 -T -- src/fossil-apache.conf~template /etc/apache2/sites-available/fossil.conf~template systemctl start --wait fossil-enable-apache@- make start deps install-deps: diff --git a/src/fossil-apache.conf~template b/src/fossil-apache.conf~template new file mode 100644 index 0000000..595304b --- /dev/null +++ b/src/fossil-apache.conf~template @@ -0,0 +1,10 @@ + + ServerName %H + ServerAdmin webmaster@%H + ErrorLog ${APACHE_LOG_DIR}/error.log + CustomLog ${APACHE_LOG_DIR}/access.log combined + DocumentRoot /var/www/html + ProxyPreserveHost on + ProxyPass / unix:/var/lib/fossil-httpd.S|http://%H/ + ProxyPassReverse / unix:/var/lib/fossil-httpd.S|http://%H/ + diff --git a/src/fossil.conf~template b/src/fossil.conf~template deleted file mode 100644 index 595304b..0000000 --- a/src/fossil.conf~template +++ /dev/null @@ -1,10 +0,0 @@ - - ServerName %H - ServerAdmin webmaster@%H - ErrorLog ${APACHE_LOG_DIR}/error.log - CustomLog ${APACHE_LOG_DIR}/access.log combined - DocumentRoot /var/www/html - ProxyPreserveHost on - ProxyPass / unix:/var/lib/fossil-httpd.S|http://%H/ - ProxyPassReverse / unix:/var/lib/fossil-httpd.S|http://%H/ - -- cgit v1.2.3