Guys I have a Java web application which was developed in JSF + JPA + Hibernate which is running on a Linux server on Google Cloud.
VM instance details
Machine type - n1-standard-1 (1 vCPUj, 3.75 GB of memory)
Software Operational
System Debian (9.11)
Software
Apache (2.4.25)
Google-Fluentd (1.6.17)
OpenJDK (1.8.0)
Stackdriver-Agent (5.5.2)
Tomcat (8.5.14.0)
The problem I'm having and the following, I have a URL: https://app.example.com/login.xhtml which the user normally accesses the application, but the moment he clicks logoff the application it should be directed to the login screen, because that's exactly what happens on my localhost machine, but on the Google Cloud server it is directed to this url: http://127.0.0.1:8080/login.xhtml
And give the following error as the image below:
Does anyone know help me in this?
NOTE: I use the CloudFlare service to add SSL to my subdomain https://app.example.com/login.xhtml