2018-07-27 02:45:11 +00:00
|
|
|
# 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 }}
|
2018-07-24 03:00:50 +00:00
|
|
|
|
2018-07-27 02:45:11 +00:00
|
|
|
# /static directory is stored on filesystem
|
|
|
|
Alias {{ lokole_url }}/static {{ lokole_install_path }}
|
2018-07-24 03:00:50 +00:00
|
|
|
|
2018-07-27 02:45:11 +00:00
|
|
|
<Directory {{ lokole_install_path }}>
|
2018-07-28 04:58:27 +00:00
|
|
|
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
|