1

Topic: alias in /usr/local/etc/nginx/conf.d/default.conf

======== Required information ====
- iRedMail version: 0.9
- Store mail accounts in which backend (LDAP//PGSQL): MySQL
- Linux/BSD distribution name and version: FreeBSD 9.3
- Related log if you're reporting an issue:
====
Hi! I need to use additional iredmail as www server. I phpMiAdmin installed and recorded in /usr/local/etc/nginx/conf.d/default.conf
 
# phpMyAdmin
        location ~ /phpMyAdmin(.*)\.php$ {
        include fastcgi_params;
        fastcgi_pass php_workers;
        fastcgi_index index.php;
        fastcgi_param SCRIPT_FILENAME /usr/local/www/phpMyAdmin$1.php;
   }

   location ~ /phpMyAdmin(.*) {
        alias /usr/local/www/phpMyAdmin$1;
        index index.php;

result  404 Not Found nginx. It is also planned to place websites, with Apache had no problems. Help me please!

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2 (edited by 3m 2014-10-27 15:46:52)

Re: alias in /usr/local/etc/nginx/conf.d/default.conf

1.   Thanks, decided to change http on https! But how to avoid redirect to https when accessing to the website?
2.    There is a need to remind employees of their rights and responsibilities when dealing with e-mail. I know that there is a       plugin  "Login Info". Please to empower roundсub it is useful and necessary, thank you!

3

Re: alias in /usr/local/etc/nginx/conf.d/default.conf

3m wrote:

1.   Thanks, decided to change http on https! But how to avoid redirect to https when accessing to the website?

Check config file 'default.conf' you mentioned in post, search 'rewrite'.

3m wrote:

2.    There is a need to remind employees of their rights and responsibilities when dealing with e-mail. I know that there is a       plugin  "Login Info". Please to empower roundсub it is useful and necessary, thank you!

Sorry, I don't understand what you want. sad

4

Re: alias in /usr/local/etc/nginx/conf.d/default.conf

I want this http://nh3.com.ua/owncloud/public.php?s … 2034692822