Diff options
Diffstat (limited to 'custom')
-rw-r--r--custom/servers/apache.conf1
-rw-r--r--custom/servers/lighttpd.conf3
-rw-r--r--custom/servers/nginx.conf5
3 files changed, 2 insertions, 7 deletions
diff --git a/custom/servers/apache.conf b/custom/servers/apache.conf
index e335151..690b8f1 100644
--- a/custom/servers/apache.conf
+++ b/custom/servers/apache.conf
@@ -148,7 +148,6 @@ AddType text/plain .txt
# The cgit binary.
<Directory "/usr/lib/cgit">
- # Allow CGI execution here.
Options +ExecCGI
# Run cgit.cgi as a CGI even if it is ever reached through a plain Alias
# rather than ScriptAlias.
diff --git a/custom/servers/lighttpd.conf b/custom/servers/lighttpd.conf
index c47e1f8..18f1652 100644
--- a/custom/servers/lighttpd.conf
+++ b/custom/servers/lighttpd.conf
@@ -9,8 +9,7 @@
# lighttpd -D -f /path/to/lighttpd.conf # run it in the foreground
#
# lighttpd runs the cgit.cgi binary directly through mod_cgi, so no FastCGI
-# bridge is needed. This is cgit's classic reference deployment, mod_cgi with
-# mod_alias and mod_setenv.
+# bridge is needed.
#
# Paths assumed below, edit them to match your install.
# cgit CGI binary /usr/lib/cgit/cgit.cgi
diff --git a/custom/servers/nginx.conf b/custom/servers/nginx.conf
index 2f0d974..0658554 100644
--- a/custom/servers/nginx.conf
+++ b/custom/servers/nginx.conf
@@ -119,7 +119,6 @@ http {
root /var/www/html;
}
- # Everything else moves to HTTPS.
location / {
return 301 https://$host$request_uri;
}
@@ -217,8 +216,7 @@ http {
try_files $uri =404;
}
- # Everything that is not a static asset above is a cgit URL, the repo
- # index, a repository, a page within a repository, a snapshot, a feed.
+ # Everything else is a cgit URL.
location / {
# The CGI environment, normally "include fastcgi_params", written
# out here so this config stands alone. The cookie and referer
@@ -274,7 +272,6 @@ http {
fastcgi_param SERVER_PORT $server_port;
fastcgi_param SERVER_NAME $server_name;
- # Hand off to the fcgiwrap socket.
fastcgi_pass unix:/run/fcgiwrap.socket;
# Large outputs such as snapshot tarballs and blame on big files