• 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
  • Please beaware of a breaking change in the REST API on the current Plesk release (18.0.62).
    Starting from Plesk Obsidian 18.0.62, requests to REST API containing the Content-Type header with a media-type directive other than “application/json” will result in the HTTP “415 Unsupported Media Type” client error response code. Read more here

Question Plesk reverse proxy always return 401 on axios request

albatar237

New Pleskian
Server operating system version
CentOS 7,9
Plesk version and microupdate number
18.0.56
Hello everyone,
In my plesk installation, i created a docker container that running my java app. i also configure a reverse proxy for my domain to redirect requests to this container. Everything is working fine when using postman to access API URL. But when i'm trying to access the same API via my application using axios, the server repond with 401 error.

Please Anyone know how to solve this ?
 
Back
Top