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

Annotation of /rpms/roundcubemail/contribs10/roundcubemail.nginx

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


Revision 1.1 - (hide annotations) (download)
Thu Apr 1 17:40:38 2021 UTC (3 years, 8 months ago) by brianr
Branch: MAIN
CVS Tags: HEAD
Initial import

1 brianr 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