Sealjay
  • Home
  • About
  • Snippets
  • How To
Subscribe
Tagged

Snippets

Short code snippets and solutions to common problems

How To

The Wonderful World of GitHub Actions

I've been open sourcing projects at Avanade for some time. I've recently needed a ton of automation - from code scans for security vulnerabilities and licensing compliance to automatically merging pull requests after a certain amount of time. I've just started a new role as Head of Open Technologies for

  • Chris Lloyd-Jones
Chris Lloyd-Jones 21 Sep 2021 • 3 min read
Snippets

Enabling https on a Uvicorn Python Application deployed to Azure

Like many services, Azure terminates SSL at the network load balancer. In plain English, your application needs to check the headers provided to it, to figure out if your user has connected via https. If you're using Uvicorn or another ASGI provider, you'll need to include middleware, to check the

  • Chris Lloyd-Jones
Chris Lloyd-Jones 9 Feb 2021 • 1 min read
Snippets

Running an ASGI Python Web Application in Azure with Gunicorn and Uvicorn

Assuming you're using a Linux web application plan, and running a Python application that requires the use of Uvicorn, here are some tips. You'll need to have a startup command set in Azure, which either calls a Uvicorn worker directly, or calls a configuration file specifying one. On the Azure

  • Chris Lloyd-Jones
Chris Lloyd-Jones 9 Feb 2021 • 1 min read
Sealjay © 2023
  • GitHub
  • Twitter
  • LinkedIn
Powered by Ghost