1

I have a Linux server serving a Flask application with Gunicorn. I have a separate Windows server with IIS. Only the IIS server is accessible publicly. How can I set up IIS as a reverse proxy to my internal server?

PS: came from: https://stackoverflow.com/questions/39022105/set-up-iis-to-reverse-proxy-an-internal-server

  • What is your operating system on IIS server? – Mer Aug 18 '16 at 17:04
  • It's Windows 10 for IIS and RH7 for the flask – user3313834 Aug 18 '16 at 17:11
2

This can be achieved by installing the URL Rewrite and Application Request Routing modules for IIS. These can easily be installed with the Web Platform Installer from Microsoft.

Once installed, you can use the URL Rewrite GUI to create reverse proxy rules. You can find a simple example at Scott Forsyth's blog on the offical asp.net website .

| improve this answer | |
  • Will this allow us to use a self-signed certificate on the linux/flask server without getting that annoying security warning? (the Windows/IIS server has a properly signed cert) – Ron Smith Sep 12 '17 at 19:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.