Episode 8: Using Ansible to Configure NGINX for ASP.NET Core
• Jordan Griffin
ASP.NET Core applications have a built-in webserver called Kestrel. This internal webserver is not intended to serve requests directly. It must be placed behind a production quality webserver such as NGINX, IIS, etc. We chose NGINX because we have experience with it and it runs on Linux. Ansible does all the needed configuration and keeps our servers consistent and predictable.
Configure NGINX with Ansible
Everything we need can be accomplished from a single playbook. This playbook installs NGINX, configures it, copies SSL keys and enables the ASP.NET Core site:
The easiest way to monitor your web performance. Request Metrics records how real users
experience your website and shows you simplified metrics and alerting. And at a price that's easy
on your budget.