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

    Question wordpressPermalinkHandlingFeature

    Please could someone elaborate on the importance of this rule, and/or the context in which it is important, in /etc/nginx/plesk.conf.d/vhosts/example.com.conf. I've Googled and searched this forum to no avail. # WordPress permalink # To remove this rule, add...
  2. S

    Question Mastodon on plesk

    Hi, im following this lovely guide on installing mastodon on plesk: How to Install Mastodon on Ubuntu 22.04/20.04 Server - LinuxBabe. All tests are going ok, like "sudo nginx -t" and the reload "sudo systemctl reload nginx, but" i am not seeing my site on http://social.example.com I am seeing...
  3. T

    Question Plesk Odoo Nginx Reverse Proxy

    In general Nginx configuration I use this configuration for Nginx reverse proxy to Odoo: upstream odoo12a { server 127.0.0.1:8012; } upstream odoo12a-im { server 127.0.0.1:8072; } server { listen 80; server_name www.domain.com; rewrite ^(.*) https://$host$1 permanent; }...
  4. Azurel

    Question Nginx not use charset UTF-8 for xml...?

    I verified a XML file with w3.org and get back: XML files are served by nginx and not in utf-8? What with Javascript? How I can change that in plesk?
  5. Ehud

    Resolved Plesk nginx conf files, seem to bring to an error notification when running 'nginx -s reload'

    Hi, The Plesl nginx domain file configuration, includes two 'server' blocks to liste for the same IP, where the first listen only server_name with a 'www' prefix, and reroutes with a '301' code into the second. To me, that did make sense. However, nowadays, when running the CLI: nginx -s...
  6. P

    Resolved "502 Bad Gateway" with nginx reverse proxy for openhab cloud

    Hi, I'm trying to make openhab cloud (GitHub - openhab/openhab-cloud: Cloud companion for openHAB instances) work on Plesk but it seems impossible for me. To explain briefly how it should work: - Local openhab instance connects with UUID and secret to openhab cloud instancen. They are connected...
  7. M

    Resolved Nginx error "nginx: [emerg] "server" directive is not allowed here in /etc/nginx/plesk.conf.d/vhosts/mydomain.conf:29"

    Hello, this morning plesk show the next error on screen: New configuration files for the Apache web server were not created due to errors in the configuration templates: nginx: [emerg] "server" directive is not allowed here in /etc/nginx/plesk.conf.d/vhosts/mydomain.com.conf:29 nginx...
  8. M

    Resolved nginx.conf file is empty for one domain only

    Hi all, As the title indicates, the nginx configuration file for a domain is empty, this causes the impossibility of accessing the site concerned and the name of the certificate no longer matches. (/var/www/vhosts/system/domain.tld/conf/nginx.conf) Any changes to the web hosting seem to fail to...
  9. AboodHamwi

    Resolved WordPress website showing 502 error

    Hi, My server has restarted, and after that the WordPress website not opening and showing 502 error, I check the logs, this is what I'm getting 16075#0: *54 connect() failed (111: Connection refused) while connecting to upstream also, in Plesk repair, it's showing error for the web Checking...
  10. Alexis-BMS

    Resolved Override Nginx directives got Email error

    Hello, I have to override my Nginx directives in "Apache & Nginx settings" for a subdomain. Plesk give me this error when I apply de changes : I don't understand why, do you have any idea ? My goal is to redirect http requests from this subdomain to a docker container. Here is the Nginx...
  11. E

    Resolved Urgent / Big problem with apache/nginx [mod_evasive denylisting]

    Hi all, Since one hour, with a have a problem with a server. We have errors 403 with in the logs: "client denied by server configuration" Nota: we don"t have made any change on the server. If we go to "Apache & Nginx" and we Apply directly, website is ok but only one minute and after errors...
  12. T

    Issue Host settings and htaccess behavior in nginx proxy mode

    Hi Everyone, I'm facing a problem since few days, that i don't understand why. Thys case is on one dedicated server with ubuntu 20.04 LTS with Obsidian 18.0.52 128G of RAM and Intel(R) Xeon(R) CPU E5-1660 v4 @ 3.20GHz (16 core(s)) The first point is I'm working on my TTFB which have an average...
  13. J

    Question PHP-FPM Apache / Nginx

    Hello! Searched for an answer on the form but unsuccessfully. Please tell me what is the difference between [PHP-FPM dedicated application server by apache] and [PHP-FPM dedicated application server by nginx], also simple [PHP-FPM application server by apache] and [PHP-FPM application server...
  14. O

    Question Remove .php and .html from url nginx

    Hello, Help please to make work both rules with and without (php and html) prefix from url in nginx/fpm I add this rules in web server configuration in control panel: if (!-e $request_filename){ rewrite ^/([^\.]+)$ /$1.php break; } if (!-e $request_filename){ rewrite ^/([^\.]+)$...
  15. A

    Issue Should I use nginx as a proxy for WAMP?

    I build a chat application based on WebSocket. As backend I use PHP and nginx as a proxy for WebSocket connection. Searching about PHP libs for WS gave me Ratchet. This tools support WAMP protocol. Something about it: [redacted] Well, I've decided to use this protocol - it seems useful. I...
  16. A

    Issue I have problem 426 No Sec-WebSocket-Protocols requested supported

    all my websocket fine but i get err 426 No Sec-WebSocket-Protocols requested supported plesse help me anyone can help me where wrong
  17. O

    Resolved Apache & nginx Settings

    Hello guys. I am trying to improve overall performance of my site which is: a 1-pager music site with few pop-ups and a very little text that changes very rarely. streams .mp3 audio files serves webp images (in "Additional nginx directives" we have placed a directives that convert any other...
  18. D

    Input How to run Magento 2 on Plesk Obsidian 18 without Docker

    This guide is about how to install and run Magento 2.4x on Plesk without Docker. Our example domain will be "example-magento.com" make sure you replace this detail to the domain where you would like to set-up the magneto site. We won't cover the installation of the required components, by...
  19. guyinpv

    Question Best configuration for chunky WordPress site?

    I need to migrate a large WordPress site to a VPS from a shared host. I'm testing a VPS that is 4vCPU and 4GB RAM and I currently have Plesk set to Nginx-only. I'm using the "Dedicated FPM application served by Nginx" option. My question is, do I also need to enable FastCGI support on the same...
  20. ramherfer

    Question Nginx overrides Apache directives

    Hello good day. I'm having problems with apache and nginix or at least I think that the cause of the apache directives being invalidated and not working is thanks to nginx. I have two protected directories, in which to access the client has to present his client certificate (SSLVerifyClient...
Back
Top