Commit cd34454b8b0694541300062a63f16f505edb69bc

Authored by Sque Squarious
Committed by Jacob Vosmaer
1 parent 3ab4cfc7

Define exclipitly the nginx log files when enabling http_to_https vhost.

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  
... ...