Is it possible to run the mailinabox with gunicorn(python-server)?

Hello, everyone.

Currently i was installed the gunicorn and nginx for the django web server and installed the mailinabox for the mandrill in digitalocean. In a few word I installed nginx, gunicorn, mailinabox in one droplet and config for But when i visited the website running on digitalocean, it redirects to

Is it possible to run the mailinabox & gunicorn server on one nginx? Is it a bad idea?

Hope to help me. Please let me know asap.


This redirection is normal behavior of MailInABox. Edit /etc/nginx/conf.d/* files to have it not redirect to ssl all the time.

Although I would just leave it alone.