Skip to content

Commit

Permalink
forward nginx proxy use tailscale resolver and direct uri
Browse files Browse the repository at this point in the history
Signed-off-by: Markus Storm <markus.storm@gmx.net>
  • Loading branch information
mstormi committed Oct 15, 2023
1 parent 0287221 commit 58d5d05
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions includes/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@ server {
listen 8888;

location / {
#resolver 100.100.100.100; # use default Tailscale nameserver
proxy_pass https://$http_host$request_uri;
#VPN resolver 100.100.100.100; # use default Tailscale nameserver
# proxy_pass https://$http_host$request_uri;
proxy_pass http://$http_host$uri$is_args$args;
}
}

Expand Down

0 comments on commit 58d5d05

Please sign in to comment.