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

19 lines
534 B
Text
Raw Normal View History

# Root directory goes to Lokole web server
2018-07-29 17:57:14 +00:00
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
2018-07-27 04:31:17 +00:00
# Don't allow modifications in static directory
2018-07-08 01:21:42 +00:00
Require all granted
2018-07-27 04:31:17 +00:00
<LimitExcept GET HEAD OPTIONS>
Require all denied
</LimitExcept>
2018-07-08 01:21:42 +00:00
</Directory>
2018-07-27 04:31:17 +00:00
# Disable TRACE to prevent cross-site tracing
TraceEnable off