laforge submitted this change.
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
---
M cgit/config/nginx.conf
1 file changed, 1 insertion(+), 1 deletion(-)
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 @@
# 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;
To view, visit change 28385. To unsubscribe, or for help writing mail filters, visit settings.