Reverse Proxy Time!
HTML-код
- Опубликовано: 7 июл 2024
- In this video, I will cover setting up a self-hosted reverse proxy with Lets Encrypt.
@christianlempa
github.com/christianlempa/vid...
community.home-assistant.io/t...
map $http_upgrade $connection_upgrade {
default upgrade;
'' close;
}
server {
server_name "your_domain_name.com";
location / {
proxy_pass "local ip address of service";
proxy_set_header Host $host;
proxy_redirect ;
proxy_http_version 1.1;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $connection_upgrade;
}
}
#opensource
#homelab
#nginx Наука