diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2024-06-07 21:24:47 +0100 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2024-06-07 21:24:47 +0100 |
commit | f3b89d42e03a14385d1e32b7aa8450a2698ec076 (patch) | |
tree | c058e5cc1ba72027248656a6277fc8fd2b1bb069 /bin/provision-host | |
parent | 08af902dbc822db1754d18339efc83985c65c3c3 (diff) | |
download | bookup-f3b89d42e03a14385d1e32b7aa8450a2698ec076.tar.gz bookup-f3b89d42e03a14385d1e32b7aa8450a2698ec076.tar.bz2 |
Feat: support for website and notebook
Diffstat (limited to 'bin/provision-host')
-rwxr-xr-x | bin/provision-host | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/provision-host b/bin/provision-host index 16712fb..13b8a78 100755 --- a/bin/provision-host +++ b/bin/provision-host @@ -44,9 +44,9 @@ cat <<-EOF | $SUDO tee /etc/apache2/sites-available/onion.conf > /dev/null <VirtualHost 127.0.0.1:80> ServerName localhost ServerAlias *.onion - DocumentRoot "/srv/shared/compiled" + DocumentRoot "/srv/shared/public" - <Directory /srv/shared/compiled> + <Directory /srv/shared/public> #AuthType Basic #AuthName "Protected" #AuthUserFile /srv/shared/.htpasswd @@ -62,9 +62,9 @@ EOF cat <<-EOF | $SUDO tee /etc/apache2/sites-available/local.conf > /dev/null <VirtualHost *:80> ServerName ${PROJECT}.local - DocumentRoot "/srv/shared/compiled" + DocumentRoot "/srv/shared/public" - <Directory /srv/shared/compiled> + <Directory /srv/shared/public> #AuthType Basic #AuthName "Protected" #AuthUserFile /srv/shared/.htpasswd |