1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-15 04:32:11 +00:00
iiab/roles/lokole/templates/lokole.conf.j2
2018-11-03 02:27:44 -04:00

18 lines
534 B
Django/Jinja

# Root directory goes to Lokole web server
ProxyPass {{ lokole_url }} unix:{{ lokole_domain_socket }}|{{ lokole_full_url }}
# /static directory is stored on filesystem
Alias {{ lokole_url }}/static {{ lokole_install_path }}
<Directory {{ lokole_install_path }}>
Options Indexes FollowSymLinks
# Don't allow modifications in static directory
Require all granted
<LimitExcept GET HEAD OPTIONS>
Require all denied
</LimitExcept>
</Directory>
# Disable TRACE to prevent cross-site tracing
TraceEnable off