We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d9ddf45 + 305ffc4 commit db88606Copy full SHA for db88606
9.0/templates/nginx.conf.tmpl
@@ -108,6 +108,9 @@ http {
108
proxy_buffer_size 64k;
109
proxy_busy_buffers_size 64k;
110
proxy_intercept_errors on;
111
+ {{ if getenv "NGX_ODOO_SECURE_COOKIES" }}
112
+ proxy_cookie_path / "/; Secure";
113
+ {{end}}
114
}
115
{{ if getenv "NGX_ODOO_EXTRA_LOCATION" }}
116
{{ $odoo_extra_location := getenv "NGX_ODOO_EXTRA_LOCATION" }}
README.md
@@ -54,3 +54,8 @@ set the result in the variable 'NGX_HTPASSWD' ex:
54
```
55
vrenaville:$apr1$lDdea9Jt$DAJQG0W1s4JEuuVQQxiur.
56
57
+
58
+### Secure cookies
59
60
+If you want all cookies to be have the Secure attribute, then you can set the
61
+environment variable NGX_ODOO_SECURE_COOKIES to 1.
0 commit comments