1 (edited by jayd 2017-09-23 19:04:33)

Topic: app.mydomain.com directly to sogo?

How can I make app.mydomain.com directly display the SOGo interface?
I want mydomain.com to display a website and app.mydomain.com directly to sogo interface. I just can't figure it out.

Also, how can I modify the green login background? tongue It's not much my colour.

The nginx configuration is very, ... spreaded. I cannot figure it out I might need a little help.

thanks guys!

----

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

2

Re: app.mydomain.com directly to sogo?

- Add a new Nginx web host config file app.mydomain.com: /etc/nginx/sites-available/app.mydomain.com.conf.
- Create symbol link to /etc/nginx/sites-enabled/app.mydomain.com.conf.
- In app.mydomain.com.conf, add required Nginx parameters for a web host. Sample config file here: https://www.nginx.com/resources/wiki/st … er_blocks/
- in app.mydomain.com.conf, include template file /etc/nginx/template/sogo-subdomain.tmpl. It will use SOGo on root index page (https://<server>/, not https://<server>/SOGo)

3

Re: app.mydomain.com directly to sogo?

I followed this tip with iredmail 0.9.9. But after restarting nginx, I get the host refused the connection.

I am new to nginx so I have no clue where to look, google did not help...

here's my config, linked to sites-enabled

server {
    listen  80;
    server_name webmail.mydomain;
    include /etc/nginx/templates/sogo-subdomain.tmpl;
    include /etc/nginx/templates/redirect_to_https.tmpl;
}
server {
    listen 443;
    server_name webmail.mydomain;
    include /etc/nginx/templates/sogo-subdomain.tmpl;
    include /etc/nginx/templates/ssl.tmpl;
}

What is wrong???

4

Re: app.mydomain.com directly to sogo?

don't worry. The code works. Problem was elsewhere