-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 7.2.X, Master
-
Fix Version/s: 7.2.10 DXP FP5, 7.2.10.2 DXP SP2, 7.2.X, 7.3.0 CE GA1, 7.3.1 CE GA2, 7.3.2 CE GA3, 7.3.10 DXP GA1, Master
-
Component/s: Fragment Administration
-
Branch Version/s:7.2.x
-
Backported to Branch:Committed
-
Fix Priority:3
-
Git Pull Request:
Steps to reproduce:
- Before starting the server, include the following property in the file portal-ext.properties:
portal.proxy.path=/public
- Configure and run a reverse proxy to point to your Liferay instance. If you choose to use NGINX, make sure to use the following configuration:
worker_processes 1; events { worker_connections 1024; } http { server { listen 80; root /usr/local/var/www; index index.html index.htm; server_name localhost; location /public/ { proxy_set_header Host $host; proxy_pass http://localhost:8080/; } } }
What this will do is create a webserver that listens to the port 80, and redirects every request made for its address that has the subpath "/public" to your Liferay's address and port. In the case above, the Liferay instance is located on the same address as the NGINX server and listens to the port 8080;
- After starting the Liferay instance, access it by going to the URL http://localhost/public if you're using the same machine where the NGINX is running;
- Login as administrator and go to the Site's Site Builder > Pages;
- Click to add a Public Page;
- Select Blank;
- Give a name to it and add it;
- On the sidebar, click on Fragments, then Basic Components.
Actual result:
No thumbnail was found.
Expected result:
Liferay should be able to fully load the respective thumbnails.