mirror of
https://github.com/gfacciol/zotero_dataserver-docker.git
synced 2021-05-12 18:32:26 +03:00
47 lines
1.2 KiB
Plaintext
47 lines
1.2 KiB
Plaintext
<VirtualHost *:80>
|
|
DocumentRoot /srv/web-library
|
|
<Directory />
|
|
Options FollowSymLinks
|
|
AllowOverride None
|
|
</Directory>
|
|
<Directory /srv/web-library/>
|
|
Options Indexes FollowSymLinks MultiViews
|
|
AllowOverride None
|
|
Order allow,deny
|
|
allow from all
|
|
</Directory>
|
|
</VirtualHost>
|
|
|
|
|
|
<VirtualHost *:443>
|
|
DocumentRoot /srv/zotero/dataserver/htdocs
|
|
SSLEngine on
|
|
SSLCertificateFile /etc/apache2/zotero.cert
|
|
SSLCertificateKeyFile /etc/apache2/zotero.key
|
|
|
|
<Location /zotero/>
|
|
SetHandler uwsgi-handler
|
|
uWSGISocket /var/run/uwsgi/app/zss/socket
|
|
uWSGImodifier1 5
|
|
</Location>
|
|
|
|
<Directory "/srv/zotero/dataserver/htdocs/">
|
|
Options FollowSymLinks MultiViews
|
|
AllowOverride All
|
|
|
|
#2.2
|
|
Order allow,deny
|
|
Allow from all
|
|
# 2.4
|
|
# Require all granted
|
|
#
|
|
# If you are using a more recent version of apache
|
|
# and are getting 403 errors, replace the Order and
|
|
# Allow lines with:
|
|
# Require all granted
|
|
</Directory>
|
|
|
|
ErrorLog /srv/zotero/log/error.log
|
|
CustomLog /srv/zotero/log/access.log common
|
|
</VirtualHost>
|