Fixed issues pointed out.
This commit is contained in:
		
							parent
							
								
									1bc5dab7b4
								
							
						
					
					
						commit
						79c3ace80b
					
				|  | @ -42,7 +42,8 @@ server { | ||||||
|   ## http://nginx.org/en/docs/http/ngx_http_realip_module.html |   ## 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_header X-Real-IP; ## X-Real-IP or X-Forwarded-For or proxy_protocol | ||||||
|   real_ip_recursive off;    ## If you enable 'on' |   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 |   ## Individual nginx logs for this GitLab vhost | ||||||
|   access_log  /var/log/nginx/gitlab_access.log; |   access_log  /var/log/nginx/gitlab_access.log; | ||||||
|  |  | ||||||
|  | @ -86,7 +86,8 @@ server { | ||||||
|   ## http://nginx.org/en/docs/http/ngx_http_realip_module.html |   ## 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_header X-Real-IP; ## X-Real-IP or X-Forwarded-For or proxy_protocol | ||||||
|   real_ip_recursive off;    ## If you enable 'on' |   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 |   ## Individual nginx logs for this GitLab vhost | ||||||
|   access_log  /var/log/nginx/gitlab_access.log; |   access_log  /var/log/nginx/gitlab_access.log; | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue