Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Secure cookies in heimdall.subdomain.conf.sample #633

Merged
merged 4 commits into from
Dec 20, 2023

Conversation

d4rklynk
Copy link
Contributor

linuxserver.io


  • I have read the contributing guideline and understand that I have made the correct modifications

Description

The cookies are not secure by default with heimdall, we can force it through nginx.

How Has This Been Tested?

The cookies are functional and can be seen through developer console on my instance -> https://services.simpleprivacy.fr/

image

The cookies are not secure by default with heimdall, we can force it through nginx.
@d4rklynk d4rklynk changed the title Secure cookies Secure cookies in heimdall.subdomain.conf.sample Dec 14, 2023
Copy link
Member

@nemchik nemchik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have a similar line here https://github.com/linuxserver/docker-swag/blob/5b77a546209cab487853d3b0d3505578d11e7f52/root/defaults/nginx/proxy.conf.sample#L18 with a warning about applying it. There are some applications that have issues with this configuration, so it's not likely appropriate to be used globally (in the proxy.conf) but may be safe in an individual proxy conf for an application (like Heimdall) as you have it here.

I would prefer it to be commented out by default, with a comment description, and placed below the proxy_pass $upstream_proto://$upstream_app:$upstream_port; line

@nemchik nemchik merged commit 20c5dbd into linuxserver:master Dec 20, 2023
2 checks passed
@d4rklynk d4rklynk deleted the patch-1 branch December 20, 2023 15:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants