Skip to content

Commit 6ec92a1

Browse files
authored
Secure cookies
The cookies are not secure by default with heimdall, we can force it through nginx.
1 parent 8ea6907 commit 6ec92a1

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

heimdall.subdomain.conf.sample

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ server {
3535
# enable for Authentik (requires authentik-server.conf in the server block)
3636
#include /config/nginx/authentik-location.conf;
3737

38+
proxy_cookie_path / "/; Secure; SameSite=strict; HttpOnly";
39+
3840
include /config/nginx/proxy.conf;
3941
include /config/nginx/resolver.conf;
4042
set $upstream_app heimdall;

0 commit comments

Comments
 (0)