• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

nginx

  1. Kulturmensch

    Issue Modsecurity works with Apache but error with nginx

    I just started to give modsecurity a second try but got this after re-installed it with plesk-installer. Starting with the configuration Nginx (Modsecurity 3.0) I get the following error: Changing the configuration from Nginx (Modsecurity 3.0) to Apache (Modesecurity 2.9) it starts without...
  2. M

    Issue Sub domain additional nginx directives

    Hi Support, I have a sub domain that has a nginx directive set. This allows me to use an api that is added into ssh All routes work (including POST, PUT, OPTIONS, GET methods) However when I try to call my route POST /api/v1/users or any request that has /api/v1/users innit, it sends me a...
  3. B

    Question How is the server.conf file generated?

    Hello, I have Plesk Obsidian installed on CentOS 7.9 and have the following Nginx configuration file: /etc/nginx/plesk.conf.d/server.conf The file content is as follows: #ATTENTION! # #DO NOT MODIFY THIS FILE BECAUSE IT WAS GENERATED AUTOMATICALLY, #SO ALL YOUR CHANGES WILL BE LOST THE NEXT...
  4. P

    Question Getting X-Forwarded-For IP address from behind a nginx proxy server

    I've got a Plesk server sitting behind a Ngnix Proxy Manager. I am receiving correct HTTP_X_FORWARDED_FOR & HTTP_X_REAL_IP from the ngnix proxy on requests forwarded to domains on the Plesk server. Here's my topology: However, I can't figure out how to get the Apache log files to show the...
  5. s-light

    Question NINGX CORS for multiple sub.domains

    Hello community, iam trying to add CORS related configuration to one subdomain configuration: i found these two tutorials: https://support.plesk.com/hc/en-us/articles/12377861295895-How-to-add-custom-Apache-nginx-configuration-for-a-domain-in-Plesk...
  6. T

    Issue ModSecurity and bad gateway 500 nginx

    Hello since last update i have much trouble with my plesk installation Every night turn my plesk all the engines off apache and nginx and my websites are not resolvable i get then nginx500 bad gateway. It's seems to have problems with ModSecurity because if i go to my plesk i see a error...
  7. U

    Question Text/event streaming: Outputs chat answers streamed.

    Hello everyone! I am building a chatbot. The chat outputs the answers streamed. Now I'm trying to get it running on a Plesk system. But somehow the text/event streaming is not working. All replies are returned completely, I have already disabled gzip, but also without success. Apache + nginx as...
  8. L

    Question Plesk with Mailman3 and Hyperkitty / nginx

    Since Mailman3 has been available, I have upgraded my server to Debian 12 and also installed Mailman3. Basically, everything is now working properly (I had to deal with a few access rights problems and a Comodo rule that went awry at the beginning, but these have now been fixed). Now I only...
  9. C

    Question nginx reverse proxy and password protected directory

    Hey everyone, I need some help with the following setup: a docker container running my API a website which is public a 2nd website which is protected with password (via Protected Directories) On the public website I set up following additional rule for nginx: location /api/ {...
  10. S

    Question How can I make my changes to Nginx site config Permanent per site?

    Hey guys, Could not find posted question relatable. I installed Varnish on the server manually. The current plan is Nginx -> Varnish -> Httpd. Initially, I got a redirect issue whenever I pointed nginx to varnish through the proxy_pass. I contacted Liquid support and they solved this by...
  11. K

    Resolved How to avoid redirection loop in plesk nginx config?

    Hi All, Through Plesk, I am trying to modify my nginx additional directives so that "/sitemap.php" redirects to "/sitemap.xml". When going to "/sitemap.xml" it should serve the page with "/sitemap.php". I have written the location blocks below: location ~ ^/sitemap.xml { try_files $uri...
  12. QWeb Ric

    Question Removing nginx Server header

    One of our clients has had a pen test performed on their website, and the tester has asked us to remove the "Server: nginx" response header. We run the default Apache + nginx configuration on all of our servers and, as far as I understand it, this header is generated by nginx and cannot be...
  13. M

    Question How to migrate to Nextcloud Extended Edition

    I have been using Plesk but not Nextcloud, which is an extension of Plesk, and have built my own Nextcloud(28.0.9) to use. So I am interested in the Nextcloud Extension. Will there be any reduction in performance capabilities by making it Plesk managed? Are there any limitations on the...
  14. Kulturmensch

    Resolved TLS versions for nginx

    My ssl.conf file in /etc/nginx/conf.de/ contains the following: Why do I have the old and weak TLS-versions TLSv1 TLSv1.1 automaticly installed for proxy_ssl_protocols. Does this make sense or can I remove it?
  15. andreios

    Issue Warning: Custom template has insufficient permissions: nginxDomainVirtualHost.php

    I want to use custom template, but I get this warning.
  16. F

    Issue PHP suddenly crashes

    I don't know why, but lately I've been having the problem that suddenly, without any changes or really noticeable events in the logs, PHP just crashes and then only the following error is displayed in the access log: 25130#0: *26793910 connect() to...
  17. F

    Issue Rate Limit Subdomain

    My configuration currently looks like this: I have a domain e.g. example.com -> accesses httpdocs (/var/www/vhosts/example.com/httpdocs/) I also have a subdomain test.example.com -> also accesses httpdocs (/var/www/vhosts/example.com/httpdocs/) I now want to set a rate limit of 10 requests /...
  18. Dmytro

    Question WPToolkit Block access to potentially sensitive files

    Hi. WPToolkit has this option here: Once it is enabled, nginx vhost configuration file be appended with this rule: # "Block access to potentially sensitive files" # To remove this rule, revert this security measure on each WordPress installation on this domain location ~*...
  19. O

    Question NodeJS Websocket Nginx with process.env.PORT?

    Hello, since Nodejs gets a port from passenger, I wanted to ask how I can use it with a websocket, because a websocket requires additional settings for nginx with a fixed port. Currently I have this in nginx. (Just wanted to say that the server does not belong to me directly, so I host with a...
  20. D

    Issue Adding /location to domain.conf

    Good day, all! I have a website using SSR-React. I have this /etc/nginx/plesk.conf.d/vhosts/diniubire.ro.conf And I want to add this location / { proxy_pass http://localhost:7456; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection...
Back
Top