Proxy-aware
Forwarded headers are trusted only from the loopback Nginx proxy, so HTTPS redirection works correctly behind the VPS web server.
.NET 8 · ASP.NET Core
This example app is built for a simple VPS deployment today and a larger product tomorrow—without requiring a database, container, or outside service.
Forwarded headers are trusted only from the loopback Nginx proxy, so HTTPS redirection works correctly behind the VPS web server.
A safe error page, HSTS, structured logging, and a JSON health endpoint provide a solid operational baseline.
Pages, infrastructure configuration, and application models are separated cleanly for future features and data access.