• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

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