Loading topic
sudo.2 min readsudo, and understand basic HTTP requests, responses, headers, ports, and IP addresses. You also need Nginx installed and a web application listening on a local port, such as 127.0.0.1:3000.2 min readsudo. The key skill is predicting which server block and which location block handles a request.2 min read127.0.0.1:3000.2 min readserver and location blocks. It also assumes that an application is listening on a local or private port, such as 127.0.0.1:3000.2 min read10.0.0.11:8080 and 10.0.0.12:8080.2 min readserver and location blocks, HTTP headers, and how an application listens on a TCP port. This chapter assumes that you already know how to proxy a request to one backend. It focuses on choosing a policy when several backends can serve the same application.2 min readupstream group. This chapter focuses on what Nginx does after a backend connection fails or returns an upstream error.2 min readserver and location blocks, and the basic upstream directive. This chapter focuses on connections between Nginx and application servers.2 min readserver blocks, and how to run an application on a local port. This chapter uses an application listening on 127.0.0.1:3000 and a certificate already issued for example.com.2 min read127.0.0.1:3000.2 min readserver and location blocks, and upstream groups. It also assumes that a WebSocket application is running on a local or reachable TCP port.2 min readserver and location blocks, HTTP methods and status codes, and how to validate and reload an Nginx service. This chapter adds caching to an existing reverse proxy that uses an upstream group such as app_backend.2 min readapp_backend.2 min read