2014-12-08 20:16:39 +00:00
|
|
|
<VirtualHost *:80>
|
|
|
|
##
|
2015-06-04 23:25:01 +02:00
|
|
|
# Domain: fedoraplanet.org
|
2014-12-08 20:16:39 +00:00
|
|
|
# Owner: admin@fedoraproject.org
|
|
|
|
#
|
2015-06-04 23:25:01 +02:00
|
|
|
# fedoraplanet.org only supports plain http because of user generated content
|
|
|
|
# to allow HSTS for *.fedoraproject.org it is on a separate domain:
|
|
|
|
# https://fedorahosted.org/fedora-infrastructure/ticket/4670
|
|
|
|
# https://fedorahosted.org/fedora-infrastructure/ticket/2888
|
2014-12-08 20:16:39 +00:00
|
|
|
ServerAdmin admin@fedoraproject.org
|
2015-06-04 23:25:01 +02:00
|
|
|
ServerName fedoraplanet.org
|
2014-12-08 20:16:39 +00:00
|
|
|
|
|
|
|
DocumentRoot "/srv/planet/site/"
|
|
|
|
|
|
|
|
ErrorLog logs/planet-error.log
|
2015-06-04 23:25:01 +02:00
|
|
|
CustomLog logs/fedoraplanet.org-access.log common
|
2018-09-27 01:14:30 +00:00
|
|
|
|
|
|
|
# let certbot get an answer from certgetter01
|
|
|
|
RewriteEngine on
|
2018-09-27 04:35:59 +00:00
|
|
|
RewriteRule ^/\.well-known/(.*) "http://fedoraproject.org/\.well-known/$1" [L,R=301,NE]
|
2014-12-08 20:16:39 +00:00
|
|
|
|
|
|
|
UserDir disable
|
|
|
|
AddCharset UTF-8 .xml
|
|
|
|
|
|
|
|
<Location /images/>
|
|
|
|
ExpiresActive On
|
2017-06-09 06:30:47 +00:00
|
|
|
ExpiresDefault "access plus 30 minutes"
|
2014-12-08 20:16:39 +00:00
|
|
|
</Location>
|
|
|
|
|
|
|
|
<Location /css/>
|
|
|
|
ExpiresActive On
|
2017-06-09 06:30:47 +00:00
|
|
|
ExpiresDefault "access plus 30 minutes"
|
2014-12-08 20:16:39 +00:00
|
|
|
</Location>
|
|
|
|
|
|
|
|
<Directory "/srv/planet/site/">
|
|
|
|
Options Indexes FollowSymLinks
|
2015-07-31 18:32:26 +00:00
|
|
|
Require all granted
|
2014-12-08 20:16:39 +00:00
|
|
|
</Directory>
|
|
|
|
|
2023-04-03 13:35:26 +02:00
|
|
|
RedirectMatch 301 /favicon\.ico$ https://fedoraproject.org/favicon.ico
|
2014-12-08 20:16:39 +00:00
|
|
|
Redirect /ldc http://fedoraldc.wordpress.com/feed/
|
|
|
|
Alias /justfedora /srv/planet/site/edited
|
|
|
|
|
2015-06-04 23:25:01 +02:00
|
|
|
</VirtualHost>
|
|
|
|
<VirtualHost *:80>
|
|
|
|
ServerAdmin admin@fedoraproject.org
|
|
|
|
ServerName planet.fedoraproject.org
|
|
|
|
DocumentRoot "/srv/planet/site/"
|
|
|
|
|
|
|
|
ErrorLog logs/planet-error.log
|
|
|
|
CustomLog logs/planet.fedoraproject.org-access.log common
|
|
|
|
|
|
|
|
UserDir disable
|
|
|
|
AddCharset UTF-8 .xml
|
|
|
|
|
2015-07-31 20:49:25 +02:00
|
|
|
RedirectMatch permanent /(.*) http://fedoraplanet.org/$1
|
2015-06-04 23:25:01 +02:00
|
|
|
|
2014-12-08 20:16:39 +00:00
|
|
|
</VirtualHost>
|
2015-07-31 20:43:08 +02:00
|
|
|
<VirtualHost *:443>
|
2014-12-08 20:16:39 +00:00
|
|
|
##
|
|
|
|
# Domain: planet.fedoraproject.org
|
|
|
|
# Owner: admin@fedoraproject.org
|
|
|
|
#
|
|
|
|
ServerAdmin admin@fedoraproject.org
|
|
|
|
ServerName planet.fedoraproject.org
|
|
|
|
|
|
|
|
SSLEngine on
|
|
|
|
SSLCertificateFile /etc/pki/tls/certs/planet.fedoraproject.org.cert
|
|
|
|
SSLCertificateKeyFile /etc/pki/tls/private/planet.fedoraproject.org.key
|
2023-01-05 12:50:34 -05:00
|
|
|
SSLCertificateChainFile /etc/pki/tls/certs/wildcard-2023.fedorapeople.org.intermediate.cert
|
2014-12-08 20:16:39 +00:00
|
|
|
SSLHonorCipherOrder On
|
2016-08-30 19:36:53 +00:00
|
|
|
SSLProtocol {{ ssl_protocols }}
|
|
|
|
SSLCipherSuite {{ ssl_ciphers }}
|
2014-12-08 20:16:39 +00:00
|
|
|
|
|
|
|
DocumentRoot "/srv/planet/site/"
|
|
|
|
|
|
|
|
ErrorLog logs/planet-error.log
|
|
|
|
CustomLog logs/planet.fedoraproject.org-access.log common
|
|
|
|
|
|
|
|
UserDir disable
|
|
|
|
AddCharset UTF-8 .xml
|
|
|
|
|
2015-07-31 20:49:25 +02:00
|
|
|
RedirectMatch permanent /(.*) http://fedoraplanet.org/$1
|
2014-12-08 20:16:39 +00:00
|
|
|
|
|
|
|
</VirtualHost>
|
2018-09-27 03:08:12 +00:00
|
|
|
<VirtualHost *:443>
|
2018-09-27 01:14:30 +00:00
|
|
|
##
|
|
|
|
# Domain: fedoraplanet.org
|
|
|
|
# Owner: admin@fedoraplanet.org
|
|
|
|
#
|
|
|
|
ServerName fedoraplanet.org
|
|
|
|
|
|
|
|
SSLEngine on
|
2018-09-27 01:49:44 +00:00
|
|
|
SSLCertificateFile /etc/pki/tls/certs/fedoraplanet.org.cert
|
2018-09-27 03:08:12 +00:00
|
|
|
SSLCertificateKeyFile /etc/pki/tls/private/fedoraplanet.org.key
|
2018-09-27 01:49:44 +00:00
|
|
|
SSLCertificateChainFile /etc/pki/tls/certs/fedoraplanet.org.intermediate.cert
|
2018-09-27 01:14:30 +00:00
|
|
|
SSLHonorCipherOrder On
|
|
|
|
SSLCipherSuite RC4-SHA:AES128-SHA:ALL:!ADH:!EXP:!LOW:!MD5:!SSLV2:!NULL
|
|
|
|
SSLProtocol ALL -SSLv2
|
|
|
|
|
|
|
|
ServerAdmin admin@fedoraplanet.org
|
|
|
|
ServerName fedoraplanet.org
|
|
|
|
|
|
|
|
DocumentRoot "/srv/planet/site/"
|
|
|
|
|
|
|
|
ErrorLog logs/planet-error.log
|
|
|
|
CustomLog logs/planet.fedoraproject.org-access.log common
|
|
|
|
|
|
|
|
UserDir disable
|
|
|
|
AddCharset UTF-8 .xml
|
|
|
|
|
|
|
|
RedirectMatch permanent /(.*) http://fedoraplanet.org/$1
|
|
|
|
|
|
|
|
</VirtualHost>
|