From 79dbd4d322f61f0650b248888359e0ab14859a96 Mon Sep 17 00:00:00 2001 From: sentriz Date: Wed, 1 Apr 2020 15:49:16 +0100 Subject: [PATCH] add secure cookie to nginx config related #52 --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 4a8d1cb..4313fcc 100644 --- a/README.md +++ b/README.md @@ -82,7 +82,9 @@ then start with `docker-compose up -d` ```nginx location /gonic/ { proxy_pass http://localhost:4747/; - # set X-Forwarded-Host for last.fm connection callback + # set "Secure" cookie if using HTTPS + proxy_cookie_path / "/; Secure"; + # set "X-Forwarded-Host" header for last.fm connection callback proxy_set_header X-Forwarded-Host $host; } ```