-
Type: New Feature
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: ADDONS_10.10
-
Component/s: Rest API
-
Epic Link:
-
Tags:
-
Sprint:nxplatform 11.1.15, nxplatform 11.1.16
-
Story Points:3
By default, Nuxeo is accessible through the port 8080, the Management API should be exposed through another port such as 9090.
From Antoine Taillefer in NXP-27370:
About the port, after discussing with Damien and Thomas:
- The reason why we suggested to use an Nginx configuration is that we thought that it would not be possible to simply isolate the Management API by only configuring Tomcat. Yet, Damien suggested to work on a POC to have a separate webapp for the Management API in the same Tomcat - so on another port than 8080 -, hoping that it will have access to the Nuxeo Framework through the JVM, thus reach the underlying services.
- If this doesn't work, because the Management API needs the same runtime/classloader/whatever than the nuxeo webapp, then another solution can be implemented: use a Tomcat valve to set a flag (request attribute, ThreadLocal?) if the request port is the one dedicated for the Management API, then only allow access if this flag is set, otherwise return 404.
- is related to
-
NXP-28104 Check 404 stacktrace
- Resolved