Created
July 30, 2017 02:50
Revisions
-
gsf created this gist
Jul 30, 2017 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,5 @@ css=/s/cgit.css logo=/s/cgit.png virtual-root=/s/ remove-suffix=1 scan-path=/srv/git/ This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,12 @@ server { ... location /s/ { alias /var/www/htdocs/cgit/; try_files $uri @cgit; } location @cgit { include uwsgi_params; uwsgi_modifier1 9; uwsgi_pass unix:/run/uwsgi/app/cgit/socket; } } This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,6 @@ [uwsgi] master = true plugins = cgi processes = 1 threads = 2 cgi = /s/=/var/www/htdocs/cgit/cgit.cgi