summaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2018-12-03 03:35:09 +0100
committerGuilhem Moulin <guilhem@fripost.org>2018-12-03 03:43:48 +0100
commit259ad739c650aafd8dddf5afcd829632a6f88a80 (patch)
treea40d0890c0a4d046875ead6a75ce20e7b45a4ea7 /roles
parent5d9d8aec510d894f528b21013b6d099be961faf1 (diff)
Upgrade wiki baseline to Debian Stretch.
Diffstat (limited to 'roles')
-rw-r--r--roles/git/files/etc/nginx/sites-available/git4
-rw-r--r--roles/git/files/etc/uwsgi/apps-available/git-http-backend.ini4
-rw-r--r--roles/wiki/files/etc/nginx/sites-available/website4
-rw-r--r--roles/wiki/files/etc/nginx/sites-available/wiki4
4 files changed, 10 insertions, 6 deletions
diff --git a/roles/git/files/etc/nginx/sites-available/git b/roles/git/files/etc/nginx/sites-available/git
index 53bfbe8..73ac1e6 100644
--- a/roles/git/files/etc/nginx/sites-available/git
+++ b/roles/git/files/etc/nginx/sites-available/git
@@ -16,8 +16,8 @@ server {
server {
- listen 443 spdy;
- listen [::]:443 spdy;
+ listen 443 ssl http2;
+ listen [::]:443 ssl http2;
server_name git.fripost.org;
diff --git a/roles/git/files/etc/uwsgi/apps-available/git-http-backend.ini b/roles/git/files/etc/uwsgi/apps-available/git-http-backend.ini
index 6718237..326d6d6 100644
--- a/roles/git/files/etc/uwsgi/apps-available/git-http-backend.ini
+++ b/roles/git/files/etc/uwsgi/apps-available/git-http-backend.ini
@@ -2,3 +2,7 @@
plugins = cgi
procname-master = uwsgi %(deb-confname)
cgi = /usr/lib/git-core/git-http-backend
+
+# XXX regression in git-http-backend
+# https://www.mail-archive.com/git@vger.kernel.org/msg119603.html
+cgi-close-stdin-on-eof = true
diff --git a/roles/wiki/files/etc/nginx/sites-available/website b/roles/wiki/files/etc/nginx/sites-available/website
index fbf0c22..ba227e5 100644
--- a/roles/wiki/files/etc/nginx/sites-available/website
+++ b/roles/wiki/files/etc/nginx/sites-available/website
@@ -17,8 +17,8 @@ server {
server {
- listen 443 spdy;
- listen [::]:443 spdy;
+ listen 443 ssl http2;
+ listen [::]:443 ssl http2;
server_name fripost.org;
server_name www.fripost.org;
diff --git a/roles/wiki/files/etc/nginx/sites-available/wiki b/roles/wiki/files/etc/nginx/sites-available/wiki
index 4a9088c..7759fa5 100644
--- a/roles/wiki/files/etc/nginx/sites-available/wiki
+++ b/roles/wiki/files/etc/nginx/sites-available/wiki
@@ -17,8 +17,8 @@ server {
server {
- listen 443 spdy;
- listen [::]:443 spdy;
+ listen 443 ssl http2;
+ listen [::]:443 ssl http2;
server_name wiki.fripost.org;