laforge submitted this change.
cgit: Fix Atom feed scheme from http to https
before:
<link rel='alternate' title='Atom feed' href='http://cgit.osmocom.org/libosmocore/atom/?h=master' type='application/atom+xml'/>
after:
<link rel='alternate' title='Atom feed' href='https://cgit.osmocom.org/libosmocore/atom/?h=master' type='application/atom+xml'/>
Change-Id: I4000f32ee8e7c55a711f928a19379b3a80a8446f
---
M cgit/config/nginx.conf
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/cgit/config/nginx.conf b/cgit/config/nginx.conf
index 80f0c81..ec3cc6c 100644
--- a/cgit/config/nginx.conf
+++ b/cgit/config/nginx.conf
@@ -18,6 +18,7 @@
fastcgi_param PATH_INFO $uri;
fastcgi_param QUERY_STRING $args;
fastcgi_param HTTP_HOST $server_name;
+ fastcgi_param HTTPS "on";
fastcgi_pass unix:/run/fcgiwrap.socket;
fastcgi_read_timeout 120s;
}
To view, visit change 28386. To unsubscribe, or for help writing mail filters, visit settings.