.
NGINX Reverse proxy
@Brody @pandas A little late but thank you! This is pretty much exactly what I needed. In case anyone is having the same issues, it took some restructuring of my backend. The solution was to separate authentication into its own server, which resides on the same internal network as the frontend and Caddy server. All /api requests go through the authentication server, which can now issue a same-site cookie, then reroute traffic to my ngrok http tunnel.
11 replies