Commit cd34454b8b0694541300062a63f16f505edb69bc
Committed by
Jacob Vosmaer
1 parent
3ab4cfc7
Exists in
6-9-stable-ee
and in
1 other branch
Define exclipitly the nginx log files when enabling http_to_https vhost.
Showing
1 changed file
with
2 additions
and
0 deletions
Show diff stats
files/gitlab-cookbooks/gitlab/templates/default/nginx-gitlab-http.conf.erb
... | ... | @@ -29,6 +29,8 @@ server { |
29 | 29 | server_name <%= @fqdn %>; |
30 | 30 | server_tokens off; |
31 | 31 | return 301 https://<%= @fqdn %>:<%= @port %>$request_uri; |
32 | + access_log <%= @log_directory %>/gitlab_access.log; | |
33 | + error_log <%= @log_directory %>/gitlab_error.log; | |
32 | 34 | } |
33 | 35 | <% end %> |
34 | 36 | ... | ... |