HTTPOnly and Secure Cookie Attribute

  • Hello,


    I wanted to set the httponly and secure cookie attribute. Added

    Code
    proxy_cookie_path / "/; HTTPOnly; Secure";


    to an <name>.conf in /etc/nginx/conf.de/ as this should be included by the ngnix.conf which says:


    Code
    http { include /etc/nginx/conf.d/*.conf; }

    However, as I have a look in the request header with crome developer tools I only read lines from dune but do not finde the two attributes there. What do I do wrong? I am a bit confused from the content of /etc/nginx in openmediavault...


    Thermo

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!