nginx: Set error log level to warn
This commit is contained in:
parent
d7026bff3b
commit
f9f194b3a2
2 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
|
|
||||||
user {{ nginx_user }};
|
user {{ nginx_user }};
|
||||||
worker_processes auto;
|
worker_processes auto;
|
||||||
error_log {{ nginx_logdir }}/error.log;
|
error_log {{ nginx_logdir }}/error.log warn;
|
||||||
|
|
||||||
events {
|
events {
|
||||||
worker_connections 1024;
|
worker_connections 1024;
|
||||||
|
|
|
@ -15,7 +15,7 @@ server {
|
||||||
server_name {{ site }};
|
server_name {{ site }};
|
||||||
|
|
||||||
access_log {{ nginx_logdir }}/{{ site }}.access.log combined;
|
access_log {{ nginx_logdir }}/{{ site }}.access.log combined;
|
||||||
error_log {{ nginx_logdir }}/{{ site }}.error.log;
|
error_log {{ nginx_logdir }}/{{ site }}.error.log warn;
|
||||||
|
|
||||||
add_header Strict-Transport-Security "max-age=63072000" always;
|
add_header Strict-Transport-Security "max-age=63072000" always;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue