jeanpierrepolnareff91 Posted September 10, 2021 Share Posted September 10, 2021 Hello everyone,I have found an interesting medium tutorial to configure a proxy on an apache server(https://medium.com/code-divoire/reverse-proxying-an-angular-cli-spa-with-apache-and-tomcat-437cb8963a70) I have followed this tutorial and updated my jasper configuration :update of tomcat_path/config/server.xml :<Connector port="8080" connectionTimeout="20000" redirectPort="8443" maxThreads="48" minSpareThreads="10" enableLookups="false" acceptCount="10" debug="0" URIEncoding="UTF-8" protocol="HTTP/1.1" hostname="my_custom_domain.tk" proxyName="my_custom_domain.tk" proxyPort="80" scheme="http"> </Connector>update of tomcat_path/webapps/jasperserver-pro/webinf/js.config.properties with my proxy adress :deploy.base.url = "http://my_custom_domain.tk"report.scheduler.web.deployment.uri = "http://my_custom_domain.tk"But when I launch the jasper server and sign in, I have a 401 unauthorized message and my webpage is reloading over and over without interruption.Has someone already ran into that kind of problem before ? Link to comment Share on other sites More sharing options...
rmeadows Posted September 27, 2021 Share Posted September 27, 2021 check your proxy config. Here is an example for jasper using httpd: https://gist.github.com/abdulhadad/6cc9434aa41ecea1e83cbc4610f57c6d Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now