SS Template download zip results in "Failed - Forbidden"

  1. Create a new “ServiceStack ASP.NET Empty” project.
  2. Add a zip file to the main project
  3. Add an index.html file to the main project
<!DOCTYPE html>
    <meta charset="utf-8" />
    <h5 style="color:white;">Zip File: <a href="\" download>Download</a></h5>
  1. Start the application and click the download link
    The download fails with a “Failed - Forbidden”

You need to add any file extensions not included in the white-list with:

SetConfig(new HostConfig {
    AllowFileExtensions = { "zip" }