1

Topic: iRedAdmin not accessible after SSL

0.9.8 MARIADB edition

Linux Debian 9.4

NGinx

no Pro

Ok that is out of the way. I had everything working fine then I went and got a SSL certificate and installed it and rerouted 80 to 443 and now iredadmin doesnt come up. IF I go to the web URL it just redirects to the main website. I tried backing out my changes and it still doesn't work.

default.conf

#
# Note: This file must be loaded before other virtual host config files,
#
# HTTP
server {
    # Listen on ipv4
    listen 80;

    # Listen on ipv6.
    # Note: this setting listens on both ipv4 and ipv6 with Nginx release
    #       shipped in some Linux/BSD distributions.
    #listen [::]:80;
    
    root /srv/example;
    index index.php index.html;

    include /etc/nginx/templates/misc.tmpl;
    include /etc/nginx/templates/ssl.tmpl;
    include /etc/nginx/templates/iredadmin.tmpl;
    #include /etc/nginx/templates/roundcube.tmpl;
    #include /etc/nginx/templates/sogo.tmpl;
    include /etc/nginx/templates/netdata.tmpl;
    include /etc/nginx/templates/php-catchall.tmpl;

    location ~ \.php$ {
      fastcgi_split_path_info ^(.+\.php)(/.+)$;
      fastcgi_pass 127.0.0.1:9000;
      fastcgi_index index.php;
      include fastcgi_params;
    }

    server_name 10.10.10.10;
    #return 301 https://example.com;
}

I haven't changed any other conf files except the SSL conf file which isn't being read because I am using http. Unless you think it is being read?

----

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

2

Re: iRedAdmin not accessible after SSL

sherman.lilly wrote:

now iredadmin doesnt come up. IF I go to the web URL it just redirects to the main website.

What's the relevant log in Nginx log file?

3

Re: iRedAdmin not accessible after SSL

[04/Oct/2018:13:54:36 -0400] "GET /iredadmin HTTP/1.1" 301 5 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:62.0) Gecko/20100101 Firefox/62.0"
[04/Oct/2018:13:54:36 -0400] "GET / HTTP/1.1" 200 6694 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:62.0) Gecko/20100101 Firefox/62.0"

4

Re: iRedAdmin not accessible after SSL

server name parameters seems IP of your server. What is SSL config of nginx?