Mise de nginx sur charybde
This commit is contained in:
parent
7093ca21a0
commit
6c37b37cb3
5 changed files with 36 additions and 1 deletions
6
Bundler/cgi.xml
Normal file
6
Bundler/cgi.xml
Normal 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
3
Bundler/gitweb.xml
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
<Bundle name="gitweb">
|
||||||
|
<Package name="gitweb"/>
|
||||||
|
</Bundle>
|
10
Cfg/etc/nginx/snippets/cgi.conf/cgi.conf
Normal file
10
Cfg/etc/nginx/snippets/cgi.conf/cgi.conf
Normal 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;
|
||||||
|
}
|
||||||
|
|
3
Cfg/etc/nginx/snippets/cgi.conf/info.xml
Normal file
3
Cfg/etc/nginx/snippets/cgi.conf/info.xml
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
<FileInfo>
|
||||||
|
<Info owner='root' group='root' perms='0644'/>
|
||||||
|
</FileInfo>
|
|
@ -29,7 +29,7 @@
|
||||||
<Group name="debian-mirror"/>
|
<Group name="debian-mirror"/>
|
||||||
<Group name="webmasters"/>
|
<Group name="webmasters"/>
|
||||||
<Group name="ntp-server"/>
|
<Group name="ntp-server"/>
|
||||||
<Group name="https_cert" />
|
<Group name="nginx" />
|
||||||
<Group name="git-main" />
|
<Group name="git-main" />
|
||||||
</Group>
|
</Group>
|
||||||
|
|
||||||
|
@ -643,6 +643,19 @@
|
||||||
<Bundle name="php" />
|
<Bundle name="php" />
|
||||||
</Group>
|
</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">
|
<Group name="ident-daemon">
|
||||||
<Bundle name="identd"/>
|
<Bundle name="identd"/>
|
||||||
</Group>
|
</Group>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue