How to get PHP_AUTH_USER and PHP_AUTH_PW available in nginx?

What type of hardware are you using: Raspberry Pi 3, 4+
What YunoHost version are you running: 12.07
How are you able to access your server: The webadmin
SSH
Direct access via physical keyboard/screen
Are you in a special context or did you perform specific tweaking on your YunoHost instance ?: install by my_webapp

Describe your issue

Since the update to YH 12 we can´t login by webdav / caldav anymore. We looked up in the logs of the app and could see that

PHP_AUTH_USER and PHP_AUTH_PW

are missing

We added to

/etc/nginx/conf.d/<site>.d/my_webapp.conf

the lines

fastcgi_param PHP_AUTH_USER $remote_user;
fastcgi_param PHP_AUTH_PW $http_authorization;

but that did not help

any idea what we could try next?
Thanks for your help

Share relevant logs or error messages

Try yunohost app setting <your_app> protect_against_basic_auth_spoofing -v false then yunohost app ssowatconf

1 Like

@Aleks THANKS so much… YES not it works again…

we were wondering and searching since two days what is going on

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.