• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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