Commit 33ed7ce6ff2de28db0f95ac9d412728d0a4992ac
1 parent
1202a727
Exists in
master
and in
9 other branches
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 | ... | ... |