map.apps proxy
Using the map.apps proxy is often the easiest solution. However, it should only be used for apps that are publicly available and do not require any authentication.
Appending your FME Flow to the allowed URLs in map.apps is possible by changing the application properties.
For more information about the location of configuration files visit the map.apps configuration files documentation.
Search for the property: proxy.allowedServerUrls
and append your URL.
If the property doesn’t exist, you can copy it from the file default-application.properties
.
Every URL has to finish with ;\
except the last one, which only requires a ;
.
You need to provide user credentials to authenticate all requests to the FME Flow. This can be done by appending the credentials after the URL. E.g.:
proxy.allowedServerUrls=
http://fme-server.de/fme*/**,<username>,<password>;\
http://fme-server2.de/fme*/**,username:<username>,password:<password>;
In addition to the allowedServerUrls
all domains that are used in the proxy have to be listed in proxy.use.rules
.
proxy.use.rules=fme-server,fme-server2
If your FME Flow URL points to localhost
you will also need to set the following property:
proxy.allowUnsafeServerUrls=true
Tomcat needs to be restarted for the changes to take effect.
|