Demonstrate how to use HomeGallery with IIS used as a proxy with base
path /pictures
Setup your root website in IIS Manager as normal with binding, e.g. www.mysite.com
This is the site you want to put your photos in a sub-path below.
With the new website selected double double-click URL Rewrite:

Configure the prefix in the server section of gallery.config.yml as
follows:
server:
prefix: /picturesStart (or restart) Home Gallery.
The web.config file is shown below for reference:
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="HomeGalleryProxy" stopProcessing="true">
<match url="^pictures(.*)" />
<action type="Rewrite"
url="http://localhost:3000/pictures/{R:1}" />
</rule>
</rules>
</rewrite>
<urlCompression doStaticCompression="true" />
</system.webServer>
</configuration>