Articles tagged in: Nginx



nginx — How to Fix Unknown "connection_upgrade" Variable

You may encounter the $connection_upgrade variable in your nginx configuration when working with Websockets or using an nginx config generator. The $connection_upgrade variable isn’t available by default. Yet, it’s a recommended practice to define and use it in your reverse proxy settings. This tutorial shows you …

Continue Reading

nginx — How to Fix “ssl” Directive Is Deprecated, Use “listen … ssl”

When updating nginx to a newer version, you may run into deprecated configurations. Nginx uses a YAML-like definition format to create configurations. This format evolves over time by adding, removing, or changing keywords. This tutorial shows you how to fix nginx’s “ssl” deprecation warning telling you to use “listen …

Continue Reading

nginx — How to Serve a Static HTML Page

Nginx is a powerful reverse proxy routing your domains from the Internet to your applications. This tutorial shows you how to serve a static HTML page with nginx. It walks you through the required paths, files, and configurations. {{outline}} Serve Static HTML Pages with nginx We created a snake browser …

Continue Reading

nginx — Is Running but Not Serving Sites

We recently installed the (to this time) newest nginx version 1.17 on a new machine. The created configurations in sites-available were symlinked to sites-enabled, but nginx wasn’t serving any of the domains. The crux here, nginx used the different directory conf.d to store a catch-all default configuration. …

Continue Reading

nginx — Remove an App/Domain from Sites-Enabled

Application hosting can become messy over time. You may shut down applications, move applications to a new domain, or you need a subdomain for a limited time. You may need to clean up your nginx configuration here and there to keep your lean setup. Nothing is worse than keeping every …

Continue Reading

Nginx — Redirect Only Root URL Path

We recently launched an internal website. This website doesn’t have a landing page and provides the feature on a URL path. We wanted to redirect all requests navigating the root path / to the feature page using nginx. Here’s how we solved it. {{outline}} Redirect the Root URL Path …

Continue Reading

Android Custom Fonts Renewed — Font Family

In the last tutorial, we've explored the modern way of implementing custom fonts on Android. However, it broke the support for dynamically changing the font style and weights (for example, bold or italic). In this tutorial, we'll fix this drawback and configure a font family with different styles. {{outline}} {{video} …

Continue Reading
Page 1 of 3

Explore the Library

Find interesting tutorials and solutions for your problems.