New answers tagged

2

Got it: auth_request_set $myheader $upstream_http_x_costumheader; add_header costum $myheader;


1

The error was within the Gunicorn service file. Since nginx was configured to run in the www-data group, it didn't have access to the app_test.sock file. I changed the group setting to www-data and it's working great now!


Top 50 recent answers are included