Commit ab869744 authored by Luc Didry's avatar Luc Didry

Fix #12 - Add Apache conf sample

parent fa78dce0
Pipeline #10327 failed with stage
in 4 minutes and 38 seconds
......@@ -111,6 +111,9 @@ PRAGMA writable_schema = 0;
For Nginx, use `utilities/lstu.nginx` as a template for your virtualhost configuration.
For Apache, use `utilities/lstu.apache` as a template for your virtualhost configuration.
Please note that this Apache template comes [from the community](https://framagit.org/luc/lstu/issues/12) and that there is **no official support for Apache**.
## Internationalization
Lstu comes with English, French and Occitan languages. It will choose the language to display with the browser's settings.
......
<VirtualHost *:80>
ServerName http://lstu.example.org
ServerAdmin contact@lstu.example.org
ProxyRequests Off
ProxyPreserveHost On
ProxyPass / http://127.0.0.1:8080/
ProxyPassReverse / http://lstu.example.org/
LogLevel info
ErrorLog ${APACHE_LOG_DIR}/lstu.error.log
CustomLog ${APACHE_LOG_DIR}/lstu.access.log combined
# Local reverse proxy authorization override
# Most unix distribution deny proxy by default
<Proxy http://127.0.0.1:8080/*>;
# If apache 2.4:
Require all granted
# If apache 2.2:
#Order deny,allow
#Allow from all
</Proxy>
</VirtualHost>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment