diff options
Diffstat (limited to 'tools/conf/etc/nginx')
-rw-r--r-- | tools/conf/etc/nginx/sites-enabled/git.localhost.conf | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/tools/conf/etc/nginx/sites-enabled/git.localhost.conf b/tools/conf/etc/nginx/sites-enabled/git.localhost.conf new file mode 100644 index 0000000..0cef2b1 --- /dev/null +++ b/tools/conf/etc/nginx/sites-enabled/git.localhost.conf @@ -0,0 +1,31 @@ +server { + listen 443 ssl; + + server_name git.localhost git.c9.core git.core.privat-network.net; + + root /srv/www/gitweb; + +# location / { +# index gitweb.cgi; +# } + +# location /gitweb.cgi { +# include fastcgi_params; +# gzip off; +# fastcgi_param SCRIPT_FILENAME /srv/www/gitweb/gitweb.cgi; +# fastcgi_param GITWEB_CONFIG /etc/gitweb.conf; +# fastcgi_pass unix:/var/run/fcgiwrap.sock; +# } + + location / { + index gitweb.cgi + fastcgi_param GITWEB_CONFIG /etc/gitweb.conf; + fastcgi_param DOCUMENT_ROOT /srv/www/gitweb/; + fastcgi_param SCRIPT_NAME /gitweb.cgi$fastcgi_path_info; + fastcgi_split_path_info ^()(/?.+)$; + + include fastcgi_params; + fastcgi_pass unix:/var/run/fcgiwrap.sock; + } + +} |