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

    Question Empty Authorization header on PHP with nginx

    Hi, I'm developing a PHP RestAPI server with JWT and Bearer Auth. In my client side (postman) send the header authorization but in PHP the variable $_SERVER['HTTP_AUTHORIZATION'] is empty. Here is my plesk configuration is (details in attaached images): Hosting Settings: PHP 7.4.11 - FPM...
  2. nicojmb

    Issue Empty Authorization Header to nginx php

    Sorry, delete this trhead, i've opened in wronk category.
  3. Q

    Question Turn on nginx in debug mode

    I would like to turn on nginx debug mode: NGINX Docs | Debugging NGINX but it looks like nginx is not compiled with debug mode. How can I recompile nginx?
  4. meymigrou

    Resolved After enabling NGINX, all posts in WordPress blogs in sub-directories are giving 404 Page Not Found

    After I enabled NGINX from Plesk (Web Pro) all my posts in my main and sub-directory blogs give 404 Page Not Found error. I placed the following code in my "Additional NGINX Directives" in Plesk to fix all the URLS, but it only fixed the main site (example.com) while the sub-directory blogs...
  5. elaa

    Issue how can restrict all but some access to a part of a website

    I am trying to deny access from except my ip address for a part of a site, so I did this: Domains > example.com > Apache & nginx Settings. in the Additional nginx directives section I added this code and my ip address location ^~ /ctst { allow 203.0.113.2; deny all; } but I got 403 Forbidden...
  6. TimReeves

    Issue nginxDomainVirtualHost.php wrongly denies access to .ht*

    <?php if (!$VAR->domain->physicalHosting->proxySettings['nginxProxyMode']): ?> location ~ /\.ht { deny all; } <?php endif ?> So it's saying: If Nginx proxy mode is NOT selected, deny access to .ht* - but in non-proxy mode, .ht* has no special meaning, as nothing is passed to...
  7. brother4

    Issue Service plan server configuration is not applied

    Hello, I have added the following ngnix configurations to a service plan and applied them. The affected subscription is in sync mode and not locked. What could be reasons that it still only works if I store it directly in the domain settings? gzip_proxied any; location ~*...
  8. TimReeves

    Issue Debian 10 Nginx fails to start - missing ssl_stapling resolver

    I set up a new BareMetal server with Debian 10 and Plesk 18.0.28. Initially all was well - but the more Domains I migrated the slower Nginx restarted. Finally, the start of Nginx timed out. Initially I thought this may have to do with the last domain migrated (Nextcloud with 90GB data). But it...
  9. W

    Resolved Plesk Istaller not working

    Trying to update/install components using Plesk Updates but getting following error. Have to use Command line to obtain these as Online installer was shwoing no error but only a line. Reading package lists... Building dependency tree... Reading state information... Some packages could not be...
  10. V

    Resolved Errors in configuration templates: nginx

    This is what I get when I enable nginx in Updates (it was turned off) Error: New configuration files for the Apache web server were not created due to the errors in configuration templates: nginx: [emerg] bind() to [2a01:4f8:c17:1ebd::2]:80 failed (99: Cannot assign requested address) nginx...
  11. D

    Issue NGINX SameSite=None command not working

    Hi, my command proxy_cookie_path / "/; secure; HttpOnly; SameSite=None"; in the nginx additional directive is not working. I still get Errors in Browser Console. if i turn on Proxy Mode its working, as i also have Header edit Set-Cookie ^(.*)$ "$1; Secure; SameSite=None" inserted into Apache...
  12. S

    Issue Issue Ngnix 403 /wp-content/cache/all/index.html

    Hello, my website is available under https://mydomain.com. I'm using Plesk Obsidian / Centos 7.8 and apache http2 + Nginx as Reverse Proxy. Lets Encrypt Certificate is installed for the Domain. I'm getting 403 Error for /wp-content/cache/all/index.html curl -i https://mydomain.com HTTP/2...
  13. T

    Issue Not getting x-cache-status: HIT

    Hello :) I am struggling to get x-cache-status: HIT but I am always getting x-cache-status: MISS header. Below is my site headers:- HTTP/2 200 server: nginx date: Sun, 10 May 2020 19:09:31 GMT content-type: text/html; charset=UTF-8 content-length: 296895 vary: Accept-Encoding x-powered-by...
  14. S

    Issue Redirection Issue Wordpress Subdirectory Install

    Hello, I have my website installed in a subdirectory under /blog. I have the issue that When I test my Pages or Post, with http://domain.com/example-page/ and http://www.domain.com/example-page/ I get Status Code 200 (instead 301) and not redirected to Version https://domain.com/example-page/...
  15. Zoinkz

    Issue Cloudflare not showing real visitor IP

    Hello, I am using Plesk Obsidian on Ubuntu 18.04 Server. My website is using Cloudflare, but on the website logs it does not show real IP of visitors. Furthermore, I can't find Cloudflare Servershield extensions on Updates or Extension page. CF documentation is telling me to install nginx...
  16. Torsten Bulk

    Question NGINX rewrite url uppercase to lowercase

    I want to change urls from uppercase to lowercase (if someone mistypes). What to write in the config of NGINX?
  17. S

    Question OCSP Stapling with Apache and Nginx Reverse Proxy

    Hello, im using LetsEncrypt already on my websites together with Apache http2 and Nginx Reverse Proxy together with Cloudflare free. When enabling OCSP Stapling under Subscriptions - Websites and Domains, are there any additional Nginx Directives needed ??? Thx OS CentOS Linux 7.7.1908...
  18. S

    Issue nginx.conf reset on every ssl certificate renew

    Hi everyone, I use NGINX reverse proxy configuration to expose a Node.js api server. I also use the default Let's Encript service offered by Plesk to secure the domain. Every time Plesk renew the certificate, my reverse proxy configuration located in...
  19. R

    Question Weird Wordpress problem: Content is planned instead of published

    Hi *, I run multiple Wordpress sites using nginx only. Everything seems to be working except one thing. When I create a new post or page and publish it, Wordpress tells me that everything is OK, I can see the page/post. I can, but only if I am logged in, because the thing is not really...
  20. W

    Issue Nginx problem, website crash every 30 mins

    Hi everybody, Since 2 week each 3 /5 days websites crash (3 differents website with 2 ips), nothing abnormal on the logs. All services running. PHP under FPM Apache. After restarting server all was working. This night get a new alert, and another and another. et like 7 crash from this morning...
Back
Top