Details
-
Bug
-
Status: Closed
-
Resolution: Fixed
-
Master
-
5
-
4
-
S05E07 - Axie Infinity
Description
Steps:
- Configure a reverse proxy (e.g. using Apache)
<VirtualHost *:5001> ServerName localhost ProxyPreserveHost On <location /portal> ProxyPass "http://localhost:8080" ProxyPassReverse "http://localhost:8080" </location> </VirtualHost>
- Prepare a clean bundle with the following portal property:
portal.proxy.path=/portal web.server.http.port=5001
- Start Liferay
- Navigate to http://localhost:5001/portal
- Login as admin user
- Navigate to http://localhost:5001/portal/o/api/
Expected results
The page should load successfully.
Actual results
Failed to load API definition.
Note: Please refer to this article about how to set up Apache proxy.
Attachments
Issue Links
- causes
-
LPS-168743 Proxy Causing Failure to Load API Definition
- Closed
- Discovered while testing
-
LPS-158622 Failed /api/jsonws/ calls when using portal.proxy.path
- Closed
- relates
-
LPS-168849 Test Creation | LPS-159215 Proxy Causing Failure to Load API Definition
-
- Open
-