Making Immich cookies use the Secure attribute
#27428
Replies: 4 comments 1 reply
-
|
I would be interested too. |
Beta Was this translation helpful? Give feedback.
-
|
I don't think we can tell serverside whether HTTPS is enabled, so I'd suggest you use |
Beta Was this translation helpful? Give feedback.
-
|
I'll definitely check out Another option could be to make this behavior be controlled through an Immich environment variable. I also make sure to send an effective HSTS header with all the server responses |
Beta Was this translation helpful? Give feedback.
-
|
These three directives seem to do the job for my setup. I don't know if there are any other cookies Immich uses that might need to be modified. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
is it possible to make the cookies Immich produces use the
Secureattribute? My Immich instance is behind an NGINX reverse proxy with HTTPS, and I would like to make sure the session cookies can never be transmitted as plaintext.Thank you.
Beta Was this translation helpful? Give feedback.
All reactions