mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +00:00
Add Apache configs.
This commit is contained in:
parent
63045d1928
commit
f11a97e060
1
support/apache/plinth-ports.conf
Normal file
1
support/apache/plinth-ports.conf
Normal file
@ -0,0 +1 @@
|
||||
Listen 0.0.0.0:8001
|
||||
26
support/apache/sites-available/plinth.conf
Normal file
26
support/apache/sites-available/plinth.conf
Normal file
@ -0,0 +1,26 @@
|
||||
<VirtualHost *:8001>
|
||||
ServerAdmin webmaster@localhost
|
||||
|
||||
<Location />
|
||||
ProxyPass http://127.0.0.1:8000/
|
||||
Order allow,deny
|
||||
Allow from 10.0.0.0/8
|
||||
Allow from 172.16.0.0/12
|
||||
Allow from 192.168.0.0/16
|
||||
</Location>
|
||||
|
||||
ErrorLog ${APACHE_LOG_DIR}/error.log
|
||||
|
||||
# Possible values include: debug, info, notice, warn, error, crit,
|
||||
# alert, emerg.
|
||||
LogLevel warn
|
||||
|
||||
CustomLog ${APACHE_LOG_DIR}/access.log combined
|
||||
|
||||
<IfModule mod_ssl.c>
|
||||
SSLEngine on
|
||||
SSLCertificateFile /etc/ssl/certs/ssl-cert-snakeoil.pem
|
||||
SSLCertificateKeyFile /etc/ssl/private/ssl-cert-snakeoil.key
|
||||
</IfModule>
|
||||
|
||||
</VirtualHost>
|
||||
Loading…
x
Reference in New Issue
Block a user