Commit graph

35 commits

Author SHA1 Message Date
Pavel Raiskup
9d95dd38fc copr-be-aws: move lighttpd.conf to proper location 2020-04-24 21:34:24 +02:00
Pavel Raiskup
c73bb140ac copr-be-dev-aws: proper location of lighttpd_dev.conf template 2020-04-24 21:34:24 +02:00
Pavel Raiskup
0c305c731a copr-be-dev: fix path to LE certificate 2020-04-24 21:34:24 +02:00
Miroslav Suchý
c35ebbd949 copr: do not cache logs and repodata in CloudFront 2020-04-24 21:34:21 +02:00
Pavel Raiskup
efda1b074a copr: be-dev: drop mod_alias config for letsencrypt
The alias hack is not needed because the certbot binary is run as root,
and so we can (and we do) use /var/lib/copr/public_html as challenge
directory (configured in inventory/group_vars/copr_back_dev).
2020-04-24 21:34:12 +02:00
Pavel Raiskup
6417274940 copr: be: enable builder-live log redirect in prod
Mimic cf180175cc7dddaf1310d220d0938fdb48a11f9e
2020-04-24 21:34:12 +02:00
Pavel Raiskup
c6d85a5fbe copr: be-dev: redirect to builder-live.log.gz
https://pagure.io/copr/copr/issue/921
https://pagure.io/copr/copr/pull-request/985
2020-04-24 21:34:10 +02:00
Pavel Raiskup
c9c718f8c3 copr: backend: log files should be served as charset=utf-8
Fixes: https://pagure.io/copr/copr/issue/762
2020-04-24 21:34:07 +02:00
Kim Sondrup
2c0a52ba43 copr: backend: change lighttpd config to use "php-cli"
Calling "/usr/bin/php-cgi" instead of "/usr/bin/php" will make php
scripts return http headers to lighttpd

Fixes: rhbz#1715085
2020-04-24 21:34:07 +02:00
Pavel Raiskup
49a2ca17a7 copr: stg-backend: fix lighttpd config for certbot
- server.document-root is not needed /.well-known/
- alias.url needs mod_alias loaded
2019-05-15 10:25:34 +02:00
Jakub Kadlčík
439c482a46 Add https support for copr-be-dev 2018-11-29 22:21:24 +01:00
Miroslav Suchý
4d57437c16 copr: generate index for subdirs of /archive/spacewalk/ 2018-10-17 11:04:20 +02:00
Miroslav Suchý
08994deb1f copr: fix rendering of log.gz files
this got broken after a66fe3820 because we cannot load mod_access after mod_setenv
2018-10-13 17:04:26 +02:00
Miroslav Suchý
a66fe38208 copr: disable logging of /archive/spacewalk requests 2018-10-12 02:16:13 +02:00
Miroslav Suchý
003bd6271f copr: enable multiprocessor on lighttpd
This will utilize more cores for lighttpd, but because lighttpd does not synchronize
writing to logs, we have to pipe it to cronolog.
2018-10-12 01:25:51 +02:00
Miroslav Suchý
5260ac8353 copr: enable directory generator again 2018-10-09 11:16:32 +02:00
Miroslav Suchý
eda4f5b852 copr: enable index.html in /archive/spacewalk/ 2018-10-09 11:03:01 +02:00
Miroslav Suchý
1ba7a750e8 copr: tune keep alive down 2018-09-24 17:17:31 +02:00
Miroslav Suchý
80e4d9729b copr: temporary tune lighttpd conf
to cope with the /archive/spacewalk load
2018-09-24 16:46:19 +02:00
clime
19e100a472 copr-be-dev: fix lighttpd conf 2018-08-23 14:45:19 +02:00
clime
c945e61bb5 copr-backend: install custom lighttpd template for directory listing 2017-09-21 01:42:57 +02:00
clime
d0c7e5ead2 copr: update for new mock 2017-02-28 10:28:00 +01:00
clime
c43083ba4f copr: rawhide -> 26 redirects 2016-12-01 17:44:01 +01:00
clime
b45b745046 append to url.redirect, not set over in copr-backend lighttpd.conf 2016-09-21 12:46:51 +02:00
clime
cd4e0a711b copr-backend lighttpd redirect from mageia i386 to mageia i586 2016-09-21 07:08:59 +02:00
Miroslav Suchý
f6c767efe8 copr: add Content-Encoding: gzip for .gz files on -dev too 2016-05-02 12:14:44 +02:00
Patrick Uiterwijk
b52e117632 Seems lighttpd wants crt and key combined
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2016-01-22 00:26:18 +00:00
Patrick Uiterwijk
d0f4b4f262 Make copr-be pick up its new cert
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2016-01-22 00:14:47 +00:00
Miroslav Suchý
a19946ccba copr: we do not need this
most of the logs is compressed anyway
and there is full log of errors where cache for compress could not be created
This is simplest solution to fix this issue.
2015-12-08 17:23:16 +01:00
Miroslav Suchý
f391fed20b rewrite url for cockpit team 2015-11-13 10:56:40 +01:00
Miroslav Suchý
7455fd6a63 make lighttpd happy so it can start 2015-05-19 15:28:49 +02:00
Miroslav Suchý
0d15b02397 tell lighttpd to add to gzip files content-encoding header
so users get it as text/plain
2015-05-01 22:42:22 +00:00
Miroslav Suchý
1d3d8712b6 open gzipped logs as text/plain but transfer them gziped 2015-01-19 09:36:07 +00:00
Kevin Fenzi
6034ba638f Disable SSLv3 on all copr instances 2015-01-14 17:23:28 +00:00
Valentin Gologuzov
f27bd43dd2 [WIP] Copr playbooks refactoring using ansible roles, new role for copr-keygen 2014-10-10 12:35:14 +02:00