/[smecontribs]/rpms/roundcubemail/contribs9/roundcubemail.nginx
ViewVC logotype

Annotation of /rpms/roundcubemail/contribs9/roundcubemail.nginx

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Wed Sep 30 19:46:32 2015 UTC (9 years, 1 month ago) by stephdl
Branch: MAIN
CVS Tags: roundcubemail-1_1_3-101_el6_sme, roundcubemail-1_1_3-100_el6_sme, HEAD
* Wed Sep 30 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.1.3-100.sme
- Initial release to contribs9

1 stephdl 1.1 location = /roundcubemail {
2     alias /usr/share/roundcubemail/;
3     }
4    
5     location /roundcubemail/ {
6     root /usr/share;
7     index index.php;
8    
9     location ~ ^/roundcubemail/bin/(.+)$ {
10     deny all;
11     }
12     location ~ ^/roundcubemail/plugins/enigma/home/(.+)$ {
13     deny all;
14     }
15    
16     # Define who can access the installer
17     # keep this secured once configured
18    
19     location ~ ^/roundcubemail/installer/(.+\.php)$ {
20     allow 127.0.0.1;
21     allow ::1;
22     deny all;
23    
24     try_files $uri =404;
25     fastcgi_intercept_errors on;
26     include fastcgi_params;
27     fastcgi_param SERVER_NAME $host;
28     fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
29     fastcgi_pass php-fpm;
30     }
31    
32     # Define who can access the Webmail
33     # You can enlarge permissions once configured
34    
35     location ~ ^/roundcubemail/(.+\.php)$ {
36     allow 127.0.0.1;
37     allow ::1;
38     deny all;
39    
40     try_files $uri =404;
41     fastcgi_intercept_errors on;
42     include fastcgi_params;
43     fastcgi_param SERVER_NAME $host;
44     fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
45     fastcgi_pass php-fpm;
46     }
47     }

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed