mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2026-07-08 17:42:32 +02:00
Secure cookies
The cookies are not secure by default with heimdall, we can force it through nginx.
This commit is contained in:
@@ -35,6 +35,8 @@ server {
|
||||
# enable for Authentik (requires authentik-server.conf in the server block)
|
||||
#include /config/nginx/authentik-location.conf;
|
||||
|
||||
proxy_cookie_path / "/; Secure; SameSite=strict; HttpOnly";
|
||||
|
||||
include /config/nginx/proxy.conf;
|
||||
include /config/nginx/resolver.conf;
|
||||
set $upstream_app heimdall;
|
||||
|
||||
Reference in New Issue
Block a user