aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@osmocom.org>2022-06-18 15:26:14 +0200
committerlaforge <laforge@osmocom.org>2022-06-20 19:06:14 +0000
commit010d9f30ae11188530a865ed850ef85cf56b6f31 (patch)
treef5709445624468a1d95cb2f42d461f3149d7fa31
parent3093787dd987b11a36ed4c17cb57588aab899d4f (diff)
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
-rw-r--r--cgit/config/nginx.conf1
1 files changed, 1 insertions, 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 @@ server {
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;
}