I’ve been able to get Caddy with http.login and http.jwt working with htpasswd. I’m presented with a login page and after I authenticate I can see the resources.
I’m using fastcgi with php-fpm to serve php files. The app I’m running relies on $_SERVER[‘REMOTE_USER’] to get the logged in user, but this variable is not set after I login and try to print it from php.
Is there anything I can do to make sure this variable is populated with the name I authenticated with?