Top  | Previous | Next

Adding Gateway static content

The Ignition Gateway runs within an embedded web server. Because of this, it is possible to add static content to the Gateway, such as images and html files. Static content can then be served by the Gateway and used in client components such as the Image component or the Document Viewer.

 

To add static content, you need to be able to access and modify the Gateway file system. Navigate to the Ignition installation folder, and add your files to /webserver/webapps/main/. Let's assume that you added a /doc folder that contains index.html. To access index.html from a web browser, the URL would look like this:

http://myaddress:8088/main/doc/index.html

 

sign_warning WARNING: static content is NOT backed up when a Gateway backup is taken. Make certain that you have a separate backup of any files on a separate machine before adding them to the Gateway!

 

If you uninstall the Ignition Gateway, the /webserver folder is renamed to /webserver_<datetime>. This ensures that static content will not be deleted after an uninstallation. However, you should still verify that you have a backup of the static content on another machine before attempting uninstallation.