Skip to content

Commit

Permalink
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/9623#note_2457…
Browse files Browse the repository at this point in the history
…3655

Fixed issues pointed out.
  • Loading branch information
3kami3 committed Mar 3, 2017
1 parent 1bc5dab commit 79c3ace
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion lib/support/nginx/gitlab
Expand Up @@ -42,7 +42,8 @@ server {
## http://nginx.org/en/docs/http/ngx_http_realip_module.html
real_ip_header X-Real-IP; ## X-Real-IP or X-Forwarded-For or proxy_protocol
real_ip_recursive off; ## If you enable 'on'
set_real_ip_from YOUR_TRUSTED_ADDRESS; ## Replace this with something like 192.168.1.0/24
## If you have a trusted IP address, uncomment it and set it
# set_real_ip_from YOUR_TRUSTED_ADDRESS; ## Replace this with something like 192.168.1.0/24

## Individual nginx logs for this GitLab vhost
access_log /var/log/nginx/gitlab_access.log;
Expand Down
3 changes: 2 additions & 1 deletion lib/support/nginx/gitlab-ssl
Expand Up @@ -86,7 +86,8 @@ server {
## http://nginx.org/en/docs/http/ngx_http_realip_module.html
real_ip_header X-Real-IP; ## X-Real-IP or X-Forwarded-For or proxy_protocol
real_ip_recursive off; ## If you enable 'on'
set_real_ip_from YOUR_TRUSTED_ADDRESS; ## Replace this with something like 192.168.1.0/24
## If you have a trusted IP address, uncomment it and set it
# set_real_ip_from YOUR_TRUSTED_ADDRESS; ## Replace this with something like 192.168.1.0/24

## Individual nginx logs for this GitLab vhost
access_log /var/log/nginx/gitlab_access.log;
Expand Down

0 comments on commit 79c3ace

Please sign in to comment.