home
·
contact
·
privacy
projects
/
config
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Improve web server setup.
[config]
/
all_new_2018
/
linkable_etc_files
/
web
/
etc
/
nginx
/
nginx.conf
diff --git
a/all_new_2018/linkable_etc_files/web/etc/nginx/nginx.conf
b/all_new_2018/linkable_etc_files/web/etc/nginx/nginx.conf
index ec3e5f99443d0c83fd653ca6e1a68a4771299f2c..5d95d2e4aefe478b79fd0b9c0d2d623f4d5c35ec 100644
(file)
--- a/
all_new_2018/linkable_etc_files/web/etc/nginx/nginx.conf
+++ b/
all_new_2018/linkable_etc_files/web/etc/nginx/nginx.conf
@@
-11,7
+11,7
@@
http {
# define content-type headers
types {
text/html html htm shtml;
# define content-type headers
types {
text/html html htm shtml;
- text/css
css;
+ text/css css;
text/xml xml;
text/plain txt sh rst md;
application/xhtml+xml xhtml;
text/xml xml;
text/plain txt sh rst md;
application/xhtml+xml xhtml;
@@
-46,7
+46,7
@@
http {
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME /usr/lib/git-core/git-http-backend;
fastcgi_param GIT_HTTP_EXPORT_ALL "";
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME /usr/lib/git-core/git-http-backend;
fastcgi_param GIT_HTTP_EXPORT_ALL "";
- fastcgi_param GIT_PROJECT_ROOT /var/
www/
public_repos;
+ fastcgi_param GIT_PROJECT_ROOT /var/public_repos;
fastcgi_param PATH_INFO $1;
fastcgi_pass unix:/var/run/fcgiwrap.socket;
}
fastcgi_param PATH_INFO $1;
fastcgi_pass unix:/var/run/fcgiwrap.socket;
}
@@
-59,8
+59,8
@@
http {
# gitweb; this needs packages fcgiwrap and gitweb
location /repos/ {
include fastcgi_params;
# gitweb; this needs packages fcgiwrap and gitweb
location /repos/ {
include fastcgi_params;
- fastcgi_param SCRIPT_FILENAME
/usr/share/gitweb/gitweb.cgi;
- fastcgi_param GITWEB_CONFIG
/etc/gitweb.conf;
+ fastcgi_param SCRIPT_FILENAME /usr/share/gitweb/gitweb.cgi;
+ fastcgi_param GITWEB_CONFIG /etc/gitweb.conf;
fastcgi_pass unix:/var/run/fcgiwrap.socket;
}
}
fastcgi_pass unix:/var/run/fcgiwrap.socket;
}
}