aboutsummaryrefslogtreecommitdiffstats
path: root/roles/cgit/templates/httpd.conf.j2
diff options
context:
space:
mode:
Diffstat (limited to 'roles/cgit/templates/httpd.conf.j2')
-rw-r--r--roles/cgit/templates/httpd.conf.j25
1 files changed, 1 insertions, 4 deletions
diff --git a/roles/cgit/templates/httpd.conf.j2 b/roles/cgit/templates/httpd.conf.j2
index 962016a..0220f90 100644
--- a/roles/cgit/templates/httpd.conf.j2
+++ b/roles/cgit/templates/httpd.conf.j2
@@ -1,10 +1,7 @@
# managed by Ansible
server "cgit" {
- listen on "{{ cgit_ip }}" port {{ cgit_port }}
-{% if cgit_authenticate %}
- authenticate "realm" with "/htpasswd/cgit"
-{% endif %}
+ listen on "{{ cgit_listen_address }}" port {{ cgit_listen_port }}
# cgit
location "/cgit.*" {
remember that computers suck.