Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Support adding and __Host- prefix to all cookies sent to users #946

@DemiMarie

Description

@DemiMarie

Describe the feature you'd like to add to nginx

Add the __Host- prefix to all cookies sent to a client, and strip it from all cookies sent back to the server.

Describe the problem this feature solves

The __Host- prefix is an incredibly useful tool to isolate subdomains of a registered domain from each other. Due to browser implementation limitations, it is not as good as separate registered domains, but it is still a big win. However, not all servers use this prefix. This would make its use completely transparent to upstream servers.

Additional context

It might be possible to do this using a scripting language, but that is not obvious.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions