You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Add the following lines to your current config
vi /etc/nginx/nginx.conf
server {
location ~* ^.+(cgit.(css|png)|favicon.ico|robots.txt) {
root /usr/share/cgit/;
expires 30d;
}
location / {
include uwsgi_params;
uwsgi_modifier1 9;
uwsgi_pass unix:/run/uwsgi/cgit.sock;
}
}