nginx: Send Custom HTTP Headers
In Nginx, you can send custom HTTP headers to the client by using the add_header directive. Here is an example configuration that adds a custom X-My-Header HTTP header to all responses: server { listen 80; server_name example.com; location / { # Set the content of the custom header add_header X-My-Header “Hello, world!”; # … other … Read more