Add nginx logs for gitea
This commit is contained in:
parent
ec43f4ee0f
commit
bbd25ebb9c
|
@ -11,6 +11,9 @@ server {
|
|||
ssl_certificate <%= @ssl_cert %>;
|
||||
ssl_certificate_key <%= @ssl_key %>;
|
||||
|
||||
access_log <%= node[:openresty][:log_dir] %>/<%= @server_name %>.access.log;
|
||||
error_log <%= node[:openresty][:log_dir] %>/<%= @server_name %>.error.log warn;
|
||||
|
||||
add_header Strict-Transport-Security "max-age=31536000";
|
||||
|
||||
client_max_body_size 20M;
|
||||
|
|
Loading…
Reference in New Issue