====== Installing the RePoSyD Web Application ====== The RePoSyD web application is normally installed during the installation of the RePoSyD REST API. To install the application manually, open a command prompt and run the following command: C:\> reposyd app install c:\inetpub\wwwroot info: RePoSyD App installation completed C:\> ===== Microsoft IIS (Web Server) Configuration ===== RePoSyD requires the installation of the following IIS server functions: * [[https://www.iis.net/downloads/microsoft/application-request-routing|Application Request Routing]] The following URL rewrite rules need to be set up for RePoSyD: ^ URL ^ Pattern ^ Target ^ ^ | %%http(s):///api%% | %%^%%api/(.*) | %%http://127.0.0.1:3000/{R:1}%% | The request is redirected to RePoSyD and /api is removed from the URL. A query string remains unchanged (option //append query string// enabled) | | %%http(s)://servername>/auth%% | %%^%%auth/(.*) | %%http:127.0.0.1:3000/auth/{R:1}%% | The request is redirect to RePoSyD and remains unchanged (option //append query string// enabled). | ===== nginx ===== location /api/ { proxy_pass http://127.0.0.1:32769; rewrite ^/api/?(.*) /$1 break; } location /auth { proxy_pass http://127.0.0.1:32769; proxy_set_header Host $host:$server_port; proxy_set_header X-Forwarded-For $remote_addr; proxy_set_header X-Forwarded-Proto $scheme; }