Users Can’t Log In After Nginx Setup + Need Group-Based Visibility for Download Link

1. After switching to Nginx, users can no longer sign in or sign up.
Both admins and regular users are unable to log in, and attempting to create a new account gives the message: “We can’t detect if your account has been created, please ensure you have cookies enabled”
This only started happening after I placed Discourse behind Nginx, so I’m assuming something in my proxy configuration (likely headers or HTTPS handling) is incorrect. Any guidance on what specifically needs fixing would be appreciated.
My current configuration file (/etc/nginx/sites-enabled/default)

2. I’m using the Tickets plugin and want to show a “Download” button after a user purchases a subscription.
The location of the button doesn’t matter — it just needs to appear somewhere for users who are in a specific group.
I’m currently using the Custom Header Links component, which successfully displays the Download link, but the component has no built-in option to restrict visibility to a single group.

If it’s possible to extend or customize this component to only show a link to members of a specific group, I’d like to know how. If not, I’m open to alternative approaches that achieve the same result.

Please only ask one question per topic. That helps to select a solution for each question.

1 Like

This will let you add a button or text at any plugin outlet that can be shown to or hidden from a particular set of groups: