Mise de nginx sur charybde

This commit is contained in:
Valentin Samir 2013-06-14 12:48:42 +02:00
parent 7093ca21a0
commit 6c37b37cb3
5 changed files with 36 additions and 1 deletions

6
Bundler/cgi.xml Normal file
View file

@ -0,0 +1,6 @@
<Bundle name="cgi">
<Group name="nginx">
<Package name="fcgiwrap"/>
<Path name="/etc/nginx/snippets/cgi.conf"/>
</Group>
</Bundle>

3
Bundler/gitweb.xml Normal file
View file

@ -0,0 +1,3 @@
<Bundle name="gitweb">
<Package name="gitweb"/>
</Bundle>

View file

@ -0,0 +1,10 @@
location ~ .cgi$ {
if (!-e $request_filename) {
return 404;
}
include fastcgi_params;
fastcgi_index index.cgi;
fastcgi_pass unix:/var/run/fcgiwrap.socket;
}

View file

@ -0,0 +1,3 @@
<FileInfo>
<Info owner='root' group='root' perms='0644'/>
</FileInfo>

View file

@ -29,7 +29,7 @@
<Group name="debian-mirror"/>
<Group name="webmasters"/>
<Group name="ntp-server"/>
<Group name="https_cert" />
<Group name="nginx" />
<Group name="git-main" />
</Group>
@ -643,6 +643,19 @@
<Bundle name="php" />
</Group>
<Group name="cgi">
<Bundle name="cgi"/>
</Group>
<Group name="git-main">
<Group name="gitweb"/>
</Group>
<Group name="gitweb">
<Bundle name="gitweb"/>
<Group name="cgi"/>
</Group>
<Group name="ident-daemon">
<Bundle name="identd"/>
</Group>