diff --git a/dotfiles/.local/bin/commands b/dotfiles/.local/bin/commands index 07bc945..645a547 100755 --- a/dotfiles/.local/bin/commands +++ b/dotfiles/.local/bin/commands @@ -1261,6 +1261,13 @@ server { listen 80; charset UTF-8; client_max_body_size 2K; + + set $t1 $remote_addr; + if ($http_x_forwarded_for) + { + set $t1 $http_x_forwarded_for; + } + root %s; %s }