• 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.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Issue nginx directives being ignored

nate

Basic Pleskian
Hi,

We've recently updated to version 18.0.25 and for one domain have turned off 'Proxy Mode' so the site is being served by nginx but it seems to be ignoring all additional directives we add. We've tried this on another Plesk server running 18.0.24 which seems to work and can't figure why it's not working (the configs are the same).

Any suggestions?

Thanks
 
Thanks, unfortunately that still doesn't seem to have worked:
Error messages: 0; Warnings: 0; Errors resolved: 0

nginx directive:
location /test {
proxy_pass https://www.google.com;
}

Retults in 404
 
I have the same problem:
location blocks are ignored.

For instance this one is ignored in additional nginx directives with proxy mode off

Code:
location ~ ^/page/[0-9]+/? {
    return 404;
}

Everytime I want to set a locatin block it does not work.

After unchecking Proxy mode, in Apache & nginx Settings > Additional nginx directives,
can someone add the following code and check if it returns a 403 when you go to Best Website Builder Online | Yoursite ?

Code:
location /page321/ {
    deny all;
}

Do you see a 403 error?
 
Last edited:
Back
Top