pagure/src: see about enabling h2
I'll try this in stg first and then roll to prod if all looks ok. I don't see any reason why it wouldn't work off hand. Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
2f687633fa
commit
c11827de9f
3 changed files with 13 additions and 1 deletions
|
@ -172,7 +172,7 @@
|
|||
server_aliases: [src.stg.fedoraproject.org]
|
||||
cert_name: "{{wildcard_cert_name}}"
|
||||
sslonly: true
|
||||
use_h2: false
|
||||
use_h2: true
|
||||
|
||||
- role: httpd/website
|
||||
site_name: download.fedoraproject.org
|
||||
|
|
|
@ -11,6 +11,16 @@
|
|||
- apache
|
||||
when: ansible_cmdline.ostree is not defined
|
||||
|
||||
- name: install mod_http2 on rhel8 hosts
|
||||
package:
|
||||
state: present
|
||||
name:
|
||||
- mod_http2
|
||||
tags:
|
||||
- packages
|
||||
- apache
|
||||
when: ansible_distribution_major_version|int >= 8 and ansible_distribution == 'RedHat'
|
||||
|
||||
- name: set apache running/enabled
|
||||
service: name=httpd enabled=yes
|
||||
ignore_errors: true
|
||||
|
|
|
@ -6,6 +6,8 @@ WSGIPassAuthorization On
|
|||
WSGIDaemonProcess pagure user=git group=git maximum-requests=1000 display-name=pagure processes=10 threads=6 inactivity-timeout=300
|
||||
WSGIDaemonProcess paguredocs user=git group=git maximum-requests=1000 display-name=paguredocs processes=4 threads=4 inactivity-timeout=300
|
||||
|
||||
Protocols h2 h2c http/1.1
|
||||
|
||||
## Redirects http -> https
|
||||
|
||||
<VirtualHost *:80>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue