aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@osmocom.org>2022-06-18 15:23:33 +0200
committerlaforge <laforge@osmocom.org>2022-06-20 19:06:14 +0000
commit3093787dd987b11a36ed4c17cb57588aab899d4f (patch)
tree6915d9771266b14619ec678d550c7d96caa31e7d
parent9ccb78afeb87dfdb3eef3841db10cdc29ae77ae3 (diff)
cgit: fix Atom feed hostname from localhost to cgit.osmocom.org
Before: $ curl -s https://cgit.osmocom.org/libosmocore/ | grep "Atom feed" <link rel='alternate' title='Atom feed' href='http://localhost/libosmocore/atom/?h=master' type='application/atom+xml'/> After: $ curl -s https://cgit.osmocom.org/libosmocore/ | grep "Atom feed" <link rel='alternate' title='Atom feed' href='http://cgit.osmocom.org/libosmocore/atom/?h=master' type='application/atom+xml'/> Change-Id: Iaab14e254acc0356f0d3639924e3b6b528d57973
-rw-r--r--cgit/config/nginx.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/cgit/config/nginx.conf b/cgit/config/nginx.conf
index 8c3595c..80f0c81 100644
--- a/cgit/config/nginx.conf
+++ b/cgit/config/nginx.conf
@@ -6,7 +6,7 @@ server {
# ssl_certificate /etc/nginx/certs/final.crt;
# ssl_certificate_key /etc/nginx/certs/private.key;
- server_name localhost;
+ server_name cgit.osmocom.org;
index cgit.cgi;
root /usr/share/cgit;