• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

Issue Sub domain additional nginx directives

minty-arthur

New Pleskian
Server operating system version
Ubuntu 22.04.4 LTS
Plesk version and microupdate number
Plesk Obsidian 18.0.65 Update #2 Web Pro Edition
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 default answer of nginx itself without plesk overriding this response it seems. The response I received:
1734433030119.png














From other POST calls:
1734433113835.png
 

Attachments

  • 1734432744550.png
    1734432744550.png
    46.5 KB · Views: 7
Hello! It's hard to say what's going wrong without web server logs. Please check /var/log/nginx/error.log when you call POST /api/v1/users to see if there are any errors appear. You could post errors from log here however I would recommend contact Plesk technical support team to speed up investigation.
 
Back
Top