FlexSim's Webserver is a query-driven manager and communication interface for FlexSim. It allows you to run FlexSim models through a web browser like Google Chrome, FireFox, Internet Explorer, etc. Since the FlexSim Web Server is a basic service to allow FlexSim to be served to a browser, you may decide you want a way to proxy to this service through a full service web server that you can control security and authentication through.
This guide will walk you through proxying to the FlexSim Web Server through Nginx web server.
Install the FlexSim Web Server Program
Install Nginx Reverse Proxy
Configure Nginx to proxy to the FlexSim Web Server
location / { root html; index index.html index.htm; }
location / { proxy_pass http://127.0.0.1:8080; #root html; #index index.html index.htm; }
Reload Nginx to Apply the Changes
C:\nginx>cd C:\nginx and press enter
C:\nginx>nginx -s reload
Test the FlexSim Web Server Being Proxied by Nginx
Now that you have the FlexSim Web Server proxied through Nginx, you may decide you want to configure Nginx to handle security, authentication and customization. Since this is out of the scope of this guide, you can find details on the Internet that can guide you to setting these customizations up.
A few resources you may consider: