aboutsummaryrefslogtreecommitdiffstats
path: root/roles/cgit/templates/etc-httpd.d-cgit.conf.j2
diff options
context:
space:
mode:
Diffstat (limited to 'roles/cgit/templates/etc-httpd.d-cgit.conf.j2')
-rw-r--r--roles/cgit/templates/etc-httpd.d-cgit.conf.j210
1 files changed, 5 insertions, 5 deletions
diff --git a/roles/cgit/templates/etc-httpd.d-cgit.conf.j2 b/roles/cgit/templates/etc-httpd.d-cgit.conf.j2
index 6fb8e98..b77ca35 100644
--- a/roles/cgit/templates/etc-httpd.d-cgit.conf.j2
+++ b/roles/cgit/templates/etc-httpd.d-cgit.conf.j2
@@ -2,19 +2,19 @@
# httpd ~~ /etc/httpd.d/cgit.conf"
# managed by Ansible
-ext_ip="0.0.0.0"
server "cgit" {
- listen on $ext_ip port {{ cgit_port }}
+ listen on "{{ cgit_ip }}" port {{ cgit_port }}
{% if cgit_authenticate %}
authenticate "realm" with "/htpasswd/cgit"
{% endif %}
- # serve cgit static files directly: cgit.css and cgit.png
+ # cgit
location "/cgit.*" {
root "/cgit"
- no fastcgi
+ no fastcgi
}
- # cgit CGI
+
+ # fastcgi
root "/cgi-bin/cgit.cgi"
fastcgi socket "/run/slowcgi.sock"
}
remember that computers suck.