Skip to content

← Week 11 - nginx reverse proxy and TLS

Week 11 - nginx reverse proxy and TLS: notes

Status: Not started

Exercise 1

Install nginx; write a server block that proxies to Kestrel; test with nginx -t.

Commands, results, what surprised me.

Exercise 2

Configure forwarded headers in ASP.NET Core and WebSocket/SignalR support for Blazor Server.

Commands, results, what surprised me.

Exercise 3

Get a certificate with certbot (Let's Encrypt), check auto-renewal, redirect HTTP to HTTPS.

Commands, results, what surprised me.

Exercise 4

Add basic security headers and gzip; look at the access and error logs.

Commands, results, what surprised me.

Deliverable

Your app live on a domain with valid TLS and an A grade on an online TLS test.

Write-up.