aboutsummaryrefslogtreecommitdiffstats
path: root/roles/git
diff options
context:
space:
mode:
authorbnewbold <bnewbold@robocracy.org>2016-04-27 00:08:59 -0400
committerbnewbold <bnewbold@robocracy.org>2016-04-27 00:08:59 -0400
commit2971b7249f364fbeae4e381ce85184564e087aa5 (patch)
tree7c4ab5a852feeb884791b27501bb08f3ebbe8786 /roles/git
parent0a0729c662fe21d203193276fd3a919b110cfdb8 (diff)
downloadinfra-2971b7249f364fbeae4e381ce85184564e087aa5.tar.gz
infra-2971b7249f364fbeae4e381ce85184564e087aa5.zip
git: fix cgit IPv6 brokenness
Diffstat (limited to 'roles/git')
-rw-r--r--roles/git/templates/etc_nginx_sites-available_cgit.j23
1 files changed, 3 insertions, 0 deletions
diff --git a/roles/git/templates/etc_nginx_sites-available_cgit.j2 b/roles/git/templates/etc_nginx_sites-available_cgit.j2
index 6678e47..511c6ad 100644
--- a/roles/git/templates/etc_nginx_sites-available_cgit.j2
+++ b/roles/git/templates/etc_nginx_sites-available_cgit.j2
@@ -1,5 +1,8 @@
server {
+
+ listen 80;
+ listen [::]:80;
server_name {{ cgit_hostname }};
root /srv/http/cgit;