
This installs our Limnoira/meetbot container and configures it on eavesdrop01.opendev.org. I have ported the configuration from the old puppet as best I can (it is very verbose); my procedure was to use the Limnoira wizard to start a new config file then backport everything from the old file. I felt this was best to not miss any new options. This does channel logging (via built-in ChannelLogger plugin, along with a cron job for logs2html) and runs our fork of meetbot. It exports the channel logs via HTTP to /irclogs and meetings logs to /meetings. meetings.opendev.org will proxy to these two locations when the server is active. Note this has not ported the channel list; so the bot will not be listening in our channels. Change-Id: I9f9a466c271e1a706f9f98f816de0e84047519f1
57 lines
1.7 KiB
Django/Jinja
57 lines
1.7 KiB
Django/Jinja
<VirtualHost *:80>
|
|
ServerName {{ inventory_hostname }}
|
|
|
|
ErrorLog /var/log/apache2/{{ inventory_hostname }}_error.log
|
|
LogLevel warn
|
|
CustomLog /var/log/apache2/{{ inventory_hostname }}_access.log combined
|
|
ServerSignature Off
|
|
|
|
Redirect / https://{{ inventory_hostname }}/
|
|
|
|
</VirtualHost>
|
|
|
|
|
|
<VirtualHost *:443>
|
|
ServerName {{ inventory_hostname }}
|
|
|
|
SSLEngine on
|
|
|
|
SSLCertificateFile /etc/letsencrypt-certs/{{ inventory_hostname }}/{{ inventory_hostname }}.cer
|
|
SSLCertificateKeyFile /etc/letsencrypt-certs/{{ inventory_hostname }}/{{ inventory_hostname }}.key
|
|
SSLCertificateChainFile /etc/letsencrypt-certs/{{ inventory_hostname }}/ca.cer
|
|
|
|
SSLProtocol All -SSLv2 -SSLv3
|
|
# Note: this list should ensure ciphers that provide forward secrecy
|
|
SSLCipherSuite ECDH+AESGCM:DH+AESGCM:ECDH+AES256:DH+AES256:ECDH+AES128:DH+AES:!AES256:!aNULL:!eNULL:!MD5:!DSS:!PSK:!SRP
|
|
SSLHonorCipherOrder on
|
|
|
|
DocumentRoot /var/log/nodepool/builds
|
|
<Directory /var/log/nodepool/builds>
|
|
Options Indexes FollowSymLinks MultiViews
|
|
AllowOverride None
|
|
Require all granted
|
|
</Directory>
|
|
|
|
# Channel logs
|
|
Alias /irclogs /var/lib/limnoria/opendev/logs/ChannelLogger/oftc/
|
|
<Directory /var/lib/limnoria/opendev/logs/ChannelLogger/oftc/>
|
|
Options Indexes FollowSymLinks MultiViews
|
|
AllowOverride None
|
|
Require all granted
|
|
</Directory>
|
|
|
|
# Meeting logs
|
|
Alias /meetings /var/lib/limnoira/opendev/meetings/
|
|
<Directory /var/lib/limnoira/opendev/meetings/>
|
|
Options Indexes FollowSymLinks MultiViews
|
|
AllowOverride None
|
|
Require all granted
|
|
</Directory>
|
|
|
|
ErrorLog /var/log/apache2/{{ inventory_hostname }}_error.log
|
|
LogLevel warn
|
|
CustomLog /var/log/apache2/{{ inventory_hostname }}_access.log combined
|
|
ServerSignature Off
|
|
|
|
</VirtualHost>
|