mirror of
https://github.com/certbot/certbot.git
synced 2026-07-26 08:09:12 +02:00
Another token of gratitude for a super useful tool and service. More about codespell: https://github.com/codespell-project/codespell . I personally introduced it to dozens if not hundreds of projects already and so far only positive feedback. CI workflow has 'permissions' set only to 'read' so also should be safe. --------- Signed-off-by: Yaroslav O. Halchenko <debian@onerussian.com>
11 lines
508 B
Plaintext
11 lines
508 B
Plaintext
# -*- mode: nginx; mode: flyspell-prog; mode: autopair; ispell-local-dictionary: "american" -*-
|
|
|
|
### Configuration for reverse proxy. Passing the necessary headers to
|
|
### the backend. Nginx doesn't tunnel the connection, it opens a new
|
|
### one. Hence we need to send these headers to the backend so that
|
|
### the client(s) IP is available to them. The host is also sent.
|
|
|
|
proxy_set_header X-Real-IP $remote_addr;
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
proxy_set_header Host $http_host;
|