1
0
Fork 0
This repository has been archived on 2023-03-27. You can view files and clone it, but cannot push or open issues or pull requests.
fedihub-ansible/files/git.crypto-libertarian.com.conf

37 lines
1 KiB
Text
Raw Normal View History

2020-01-24 17:27:16 -05:00
NameVirtualHost *:80
<VirtualHost *:80>
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
ServerName git.crypto-libertarian.com
Redirect permanent / https://git.crypto-libertarian.com/
</VirtualHost>
<VirtualHost _default_:443>
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
ServerName git.crypto-libertarian.com
2020-01-24 17:35:44 -05:00
SSLEngine on
2020-01-24 17:27:16 -05:00
SSLCertificateFile /etc/letsencrypt/live/git.crypto-libertarian.com/cert.pem
SSLCertificateKeyFile /etc/letsencrypt/live/git.crypto-libertarian.com/privkey.pem
SSLCertificateChainFile /etc/letsencrypt/live/git.crypto-libertarian.com/chain.pem
2020-01-24 17:35:44 -05:00
Alias /cgit.css /usr/share/cgit/cgit.css
Alias /cgit.png /usr/share/cgit/cgit.png
Alias /favicon.ico /usr/share/cgit/favicon.ico
Alias /robots.txt /usr/share/cgit/robots.txt
2020-01-24 17:27:16 -05:00
2020-01-24 17:35:44 -05:00
ScriptAlias / /usr/lib/cgit/cgit.cgi/
2020-01-24 17:27:16 -05:00
<Directory "/usr/lib/cgit/">
AllowOverride None
Options ExecCGI FollowSymlinks
Require all granted
</Directory>
</VirtualHost>