Configure a reverse proxy
Publish License Web through Nginx or IIS as a reverse proxy that forwards requests to the local License Web service.
A reverse proxy is the recommended way to publish License Web. You set it up as for any other web application: forward requests from your public URL to http://localhost:7070, or to your own port if you changed the default.
Nginx#
These steps are for Nginx on Linux. Apache and other Linux reverse proxies need a similar setup.
-
Install Nginx if it is not installed yet:
sudo apt install nginx -
Open the Nginx configuration file
/etc/nginx/sites-available/default. -
Add the following server block. Replace the domain name and the SSL certificate paths with your own.
server { listen 80; listen 443 ssl http2; server_name licenseweb.yourdomain.com; ssl_certificate /etc/nginx/ssl/yourdomainssl.pem; ssl_certificate_key /etc/nginx/ssl/yourdomainssl.key; location / { proxy_pass http://127.0.0.1:7070; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection keep-alive; proxy_set_header Host $host; proxy_cache_bypass $http_upgrade; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; } } -
Restart Nginx:
sudo service nginx restart
License Web is now available on your public URL, behind Nginx.
IIS#
IIS works as a reverse proxy with the Application Request Routing (ARR) and URL Rewrite modules. To install them, see Setting up IIS as a reverse proxy.
Before you begin#
-
Check that IIS Manager shows the Application Request Routing and URL Rewrite icons.

-
Check that the proxy is enabled: select Application Request Routing, then Server Proxy Settings, and make sure Enable proxy is selected.

Add the reverse proxy rule#
- Create a website, or use an existing one.
- Configure the site bindings with your public URLs.
- Select the website, then open URL Rewrite.
-
Select Add Rule(s), then Reverse Proxy.

-
In Inbound Rules, enter the address License Web listens on, for example
localhost:7070. Under Outbound Rules, set From to the same address and To to your public domain.
-
Select OK, then restart the website or IIS.
License Web is now available on your public URL through IIS.