Import of pkgsrc-2015Q3
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# $NetBSD: roundcube.conf,v 1.6 2013/06/15 16:08:09 taca Exp $
|
||||
# $NetBSD: apache.conf,v 1.1 2015/08/31 15:31:27 taca Exp $
|
||||
#
|
||||
# RoundCube configuration file fragment for Apache
|
||||
|
||||
@@ -11,8 +11,13 @@
|
||||
<Directory "@RCDIR@">
|
||||
AllowOverride All
|
||||
DirectoryIndex index.php
|
||||
<IfModule !mod_authz_core.c>
|
||||
Order allow,deny
|
||||
Allow from all
|
||||
</IfModule>
|
||||
<IfModule mod_authz_core.c>
|
||||
Require all granted
|
||||
</IfModule>
|
||||
</Directory>
|
||||
|
||||
#
|
||||
17
mail/roundcube/files/nginx.conf
Normal file
17
mail/roundcube/files/nginx.conf
Normal file
@@ -0,0 +1,17 @@
|
||||
# $NetBSD: nginx.conf,v 1.1 2015/08/31 15:31:27 taca Exp $
|
||||
#
|
||||
# RoundCube configuration file fragment for nginx
|
||||
|
||||
server {
|
||||
location /roundube {
|
||||
root @RCDIR@;
|
||||
index index.php;
|
||||
}
|
||||
|
||||
location ~ \.php$ {
|
||||
include @PKG_SYSCONFDIR@/fastcgi_params;
|
||||
fastcgi_pass unix:@VARBASE@/run/php-fpm.sock;
|
||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||
fastcgi_index index.php;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user