• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Resolved Webmail not work in standalone Nginx

MiguelAngel

New Pleskian
Hello,

I recently upgraded my server from Plesk to Plesk Onyx 12.5. I have Plesk Onyx in CentOS 7.2.

I have configured the system that everything works with Nginx web server. In Plesk Onyx you are allowed off the apache server and work with nginx standalone, so I proceeded to disable the Apache web server.

Everything works fine except for the webmail. When I try to access webmail I get an internal server error and automatically apache service is reactivated.

It seems like webmail even need apache to run. But I configured that web requests are resolved by nginx in standalone mode and have deactivated apache service.

Do you need to configure webmail otherwise to also work on nginx and apache not need?

Thank you.

Regards.
 
Yes, it is some kind of limitation of this feature. Complete removing the Apache web server is not possible, even if every website on the server uses nginx only. This is because Apache continues to serve webmail. It is also required by Plesk packages.
 
Thanks for the reply.

It would be a good point to webmail could work on Nginx and so to disable apache. Is it possible to make some kind of feature request?

I have another small question: Before I had a http->https redirection using the /roundcube/redirect.conf file (https://kb.plesk.com/en/129260). However after updating that file is deleted and no longer redirected.

Can I use again this way of doing redirection or I have to use a different way to Plesk Onyx?

Thank you.

Regards.
 
Thanks for the reply.

It would be a good point to webmail could work on Nginx and so to disable apache. Is it possible to make some kind of feature request?

I have another small question: Before I had a http->https redirection using the /roundcube/redirect.conf file (https://kb.plesk.com/en/129260). However after updating that file is deleted and no longer redirected.

Can I use again this way of doing redirection or I have to use a different way to Plesk Onyx?

Thank you.

Regards.
There are several complex technical aspects that prevent to disable Apache completely. For example, many hosting features requires Apache. But we are working on this problem and I hope that one day we will release full "nginx only" functionality.

In Plesk Onyx we have released feature for webmail SSL protection - https://docs.plesk.com/en-US/17.0/a...ing-webmail-with-an-ssltls-certificate.76531/
Therefore your previous solution is not applicable now.
 
Hi Igor,

Thanks again for your answer.

Thus what happens is that SSL is enabled for webmail, but webmail can be accessed without https.

If I write in the browser webmail.domain.com automatically navigates to the HTTP version and not the HTTPS. To navigate to the secure version you need to write HTTPS before the URL.

Is it not possible to do a redirect that oblique to access HTTPS forever?

Regards.
 
Back
Top