summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/nginx/nginx.conf5
1 files changed, 1 insertions, 4 deletions
diff --git a/etc/nginx/nginx.conf b/etc/nginx/nginx.conf
index 072089c5..7fe402c2 100644
--- a/etc/nginx/nginx.conf
+++ b/etc/nginx/nginx.conf
@@ -123,6 +123,7 @@ http {
# https://wiki.gentoo.org/wiki/User:Halcon/HOWTO_cgit_uwsgi_nginx
# https://uwsgi-docs.readthedocs.io/en/latest/Nginx.html
# https://nginx.org/en/docs/http/ngx_http_uwsgi_module.html
+ # https://stackoverflow.com/questions/16182421/cgit-and-nginx-url-rewrite
server {
listen 80;
server_name git.flylightning.xyz;
@@ -134,10 +135,6 @@ http {
expires 30d;
}
location / {
- try_files $uri @cgit;
- }
- location @cgit {
- gzip off;
include uwsgi_params;
uwsgi_modifier1 9;
uwsgi_pass unix:/run/uwsgi/cgit.sock;