Fixed host forwarding for subdomain reverse proxy

Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
rewrite
Tuan-Dat Tran 2024-09-30 10:53:18 +02:00
parent 000375c7ba
commit 95afa201e3
1 changed files with 1 additions and 0 deletions

View File

@ -26,6 +26,7 @@ http {
server { server {
location / { location / {
proxy_pass http://k3s_servers_http; proxy_pass http://k3s_servers_http;
proxy_set_header Host $http_host;
} }
} }
} }