aboutsummaryrefslogtreecommitdiffstats
path: root/roles/git/templates
diff options
context:
space:
mode:
Diffstat (limited to 'roles/git/templates')
-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;