Skip to content
Snippets Groups Projects
Commit 9e70750082c6 authored by Omar Qunsul's avatar Omar Qunsul
Browse files

Documentation of session cookie prefix values

Addressing: https://gitlab.com/gitlab-org/gitlab/-/issues/439945
parent 60a34304ce32
No related branches found
No related tags found
1 merge request!139Merge upstream Omnibus GitLab into Omnibus Heptapod
......@@ -786,6 +786,24 @@
gitlab_rails['allowed_hosts'] = ['gitlab.example.com', '127.0.0.1', 'localhost']
```
## Session cookie configuration
To change the prefix of the generated web session cookie values:
1. Edit `/etc/gitlab/gitlab.rb`:
```ruby
gitlab_rails['session_store_session_cookie_token_prefix'] = 'custom_prefix_'
```
1. Reconfigure GitLab:
```shell
sudo gitlab-ctl reconfigure
```
The default value is an empty string `""`.
## Provide sensitive configuration to components without plain text storage
Some components expose an `extra_config_command` option in `gitlab.rb`. This allows an external script to provide secrets
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment