• 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.

Question "Your server is neither Nginx nor Apache"

WhiteTiger

Basic Pleskian
Server operating system version
Ubuntu 22.04.2 LTS
Plesk version and microupdate number
18.0.50
I have a VPS with these features:
  • OS: Ubuntu 22.04.2 LTS
  • Plesk Obsidian: Version 18.0.50 Update #2, last updated on Feb 16, 2023 06:25 PM
  • Domain PHP PHP version 8.1.18, run PHP as Dedicated FPM application served by nginx
  • The "Common Apache settings" are all Default
  • At the moment the "Additional nginx directives" are still these:
if (!-e $request_filename) { rewrite ^.*$ /index.php last; } #include "/var/www/vhosts/DOMAIN/httpdocs/nginx.conf";
  • Joomla! Version 4.3.0 Stable
  • In Joomla at the moment there is no .htaccess yet, but only the default file (htaccess.txt)
In Joomla there is the extension "Admin Tools", by Akeeba, as Web Application Firewall.
Admin Tools has a facility to generate an .htaccess or configuration file for Nginx depending on the required levels of protection.
I asked Akeeba technical support for advice on how to proceed given my configuration of Nginx as Apache Reverse Proxy.
The answer was "create .htaccess because Admin Tools work badly with Reverse Proxies".
So I would like to create .htaccess, convert its directives for Nginx with the Plesk converter and then insert them in the "Additional nginx directives" field.
The problem is, however, that Admin Tools is recognizing as active Nginx and not Apache. So I have the button to generate the file for Nginx and not for Apache.
I report this difficulty to tech support and their next response is that it shouldn't be the correct configuration if Apache is doing the job and Nginx is the Reverse Proxy. Their opinion is that Admin Tools should see Apache as active and not Nginx.

At this point I wonder if there is some other configuration to do because in Plesk I should have kept the default configuration.
 
If I understand your issue correctly it's that Admin Tools Joomla extension does work well when using Nginx as a reverse proxy. So my initial suggestion would be to turn off Proxy mode (in Plesk go to example.com > click the Hosting & DNS tab > Apache & nginx Settings). That way only Nginx gets used and your are maybe able to generate directives for Nginx.

Another option would be to (temporary) stop Nginx (in Plesk go to Tool & settings > Services Management and stop the Reverse Proxy Server (nginx) service). This stops Nginx being used on the server all together. Then you can hopefully create the .htaccess and convert them to Nginx directives.

Hope this helps.
 
Last edited:
If I understand your issue correctly it's that Admin Tools Joomla extension does work well when using Nginx as a reverse proxy. So my initial suggestion would be to turn off Proxy mode (in Plesk go to example.com > click the Hosting & DNS tab > Apache & nginx Settings. That way only Nginx gets used and your are maybe able to generate directives for Nginx.

Another option would be to (temporary) stop Nginx (in Plesk go to Tool & settings > Services Management and stop the Reverse Proxy Server (nginx) service). This stops Nginx being used on the server all together. Then you can hopefully create the .htaccess and convert them to Nginx directives.

Thanks for the reply and suggestions. I was also thinking of using the second of yours.
But the question is whether there could be configuration errors.
In fact, thinking about it, the Reverse Proxy should have an impact on traffic coming from outside, but the application (Joomla in this case) should interact directly with Apache.
Instead, even in the Joomla configuration data, Nginx is reported as a webserver.

Admin tool works well with both Apache and Nginx.
In my case, according to Akeeba tech support, Admin Tools should detect Apache and not Nginx.
 
Back
Top