• 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

nginx

  1. I

    Issue Websocket connection failing on Plesk server

    I'm setting up a server on Plesk with a React.js and Node.js application, containing a client and server side. Below the socket in my client config file: export const socket = io('wss://domain.name:3000', {reconnect: true, transports: [ 'websocket' ] }); And this is the setup on the server...
  2. itexpertnow

    Issue Appwrite Websocket not working

    I am running selfhosted appwrite behind nginx: $:/home/appwrite# docker port appwrite-traefik 80/tcp -> 0.0.0.0:32080 80/tcp -> [::]:32080 443/tcp -> 0.0.0.0:32443 443/tcp -> [::]:32443 Websocket working...
  3. D

    Question Pointing other users domains to mine

    Hi, I would like to set it up so other users could point their domains at mine eg: client.clientsite.com -> client.mysite.com My extra nginx file looks like so: server_name *.mysite.com; location ~ / { proxy_pass http://localhost:3000 proxy_set_header Host $host; proxy_set_header...
  4. adocsys

    Resolved How to add HTTP Security Header on port 80?

    Hello, Currently setting up a server to be PCI compliant and after multiple configuration adjustments, I only have one thing left to correct to have certification. I have set the HTTP Security Headers on all ports but I am not finding the port 80 configuration. If I test the following, here...
  5. B

    Resolved How to turn off redirection from www.foo.bar/wp-admin to www2.foo.bar/wp-admin ?

    TLDR: Please help me troubleshoot this. I am struggling with some sort of automatic redirect, but I can't find where that is configured - so I can't get rid of it! I have full access to Plesk and to SSH, but haven't found a way to turn off the redirection. Details: I used the WordPress plugin...
  6. B

    Issue All my nodeJS sites having nginx 502 Error after restoring bakcup

    Hello, I'm facing a big issue with plesk and nodejs. I initially had a centos with plesk and because centos was to old i decided to migrate to ubuntu 22.$ I've made a backup of my plesk server with backup manager and I installed ubuntu on it. Then I installed Plesk on the brand new ubuntu server...
  7. M

    Issue How can I allow HTTP POST on Plesk?

    Hello there, I am creating a web application using Plesk Obsidian. I have deployed my Node.js backend on api.example.com subdomain and have my angular app running on example.com. Everything works fine, except when I try to send any request (other than GET) from the front end to the backend, I...
  8. A

    Question How to use Clear-Site-Data header rule to clear browser cache

    Hello, I try to add Clear-Site-Data rule to the header of a domain, without success. https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Clear-Site-Data Here are the Apache cutoms header rules I have : X-Frame-Options: SAMEORIGIN X-Content-Type-Options: nosniff Referrer-Policy...
  9. X-HTTG

    Question Apache With Nginx Reverse Proxy Question

    My current setup is, Ubuntu 22.04 with Apache as backend webserver & Nginx as a reverse Proxy for Apache. Before I setup Nginx as a reverse proxy https://examplehostname , https://exampleipaddress both displayed https://exampledomain.com webpage. However when I setup Nginx As A Reverse Proxy for...
  10. X-HTTG

    Resolved Apache + Nginx As Reverse Proxy Imunify360 Question

    My current setup is Apache + ModSecurity with imunify360 ruleset. I want to run Nginx as a reverse proxy for Apache. Will I have to switch Mod security from Apache WAF to Nginx WAF with Imunify360 ruleset or do I keep Modsecurity as Apache? Is that supported?
  11. jayjay17

    Question What should be put to the container and Host fields?

    hello :) Please advise on how to configure nytimes/nginx-vod-module Docker on Plesk.I don't know how to begin. Please show me example Configure. What should be put to the container and Host fields? I’m not good at speaking English, please forgive me if I make a few mistakes.:oops:
  12. J

    Question websocket ratchet on plesk

    hi, i would like to install a websocket (ratchet) on my plesk server. There are some threads, but none helped. It seems for me (i am absolute beginner) there are problems with nginx. My php program for socketstart is running from terminal without error, also without success... Browser shows...
  13. T

    WP-Toolkit and cache clearing from wordpress

    We use WP-Rocket with our Plesk server. We are looking to enable NGINX caching and serve all content via NGINX. WP-Rocket have suggested that the NGINX-Helper plugin has automatic compatibility with WP-Rocket however - They suggest that you have to add additional NGINX settings to allow the...
  14. 2

    Issue index.php prepended to Drupal 10.1.x admin paths when running PHP as FPM Application served via Apache

    CentOS Linux 7.9.2009 (Core) Product Plesk Obsidian Version 18.0.55 Update #2, last updated on Sept 28, 2023 03:45 AM Drupal 10.1.16 PHP 8.1.24, FPM application served by Apache Modules installed, path, pathauto After updating to Drupal on my Plesk webServer, after recently updating Drupal, I...
  15. M

    Resolved Webserver does not work after installing memcached

    I installed memcached like found here in the forum. After I actiaved socache_memcache in Apache thue Plesk panel After gateway error on all webs. Analyzing the error, I found that apache webserver only started on port 7080 (http) but not 7081 (https) so NGINX does not get information from...
  16. HoracioS

    Issue I can't enable Smart static files

    Because running 'plesk bin apache --listen-on-localhost true' breaks PHP '$_SERVER["SERVER_ADDR"]', I moved a site to NGINX. Here is where the issue with NGINX begins. The 'Smart static files processing' loses the accent mark no matter how I mark and save it. Is there an error somewhere? It's a...
  17. L

    Issue NGINX [emerg] "fastcgi_cache" zone "*****.it_fastcgi" is unknown in /etc/nginx/nginx.conf:41 nginx: configuration file /etc/nginx/nginx.conf

    Hello everybody! For a few months, the error in the title has appeared on my Plesk homepage. When it first appeared, I immediately checked line 41 of the nginx.conf file to see what the problem could be, but I couldn't find any mention of "fastcgi_cache" anywhere in the file. I tried using...
  18. R

    Issue Add module image_filter to sw-nginx

    Hello everyone... I thought I had an easy task.. but I cannot accomplish it... I want to add image-filter module to default Nginx but when I try it as suggested on the Nginx page (dynamic module) it complains about package not found... At first I was afraid it is only available for Nginx Plus...
  19. L. Hagen

    Question How to overwrite existing nginxs configurations?

    Hi, I'm trying to setup my private docker registry with the public port 5000 on my server running Plesk. In the internet I found several tutorials. They all need to extend the nginx configuration line this: So far so good. I stepped now into the Additional nginx directives and tried to extend...
  20. J

    Resolved upstream sent invalid "Content-Length" header

    Hello, Last night it appears my Plesk installation has updated, and at the same time rendered a PHP script on one of my sites useless. Before images would load through the image proxy, however this is not the case anymore and I am presented with a bad gateway message along with "upstream sent...
Back
Top