fix log
This commit is contained in:
parent
800f4e6bb0
commit
e97fc0d675
2 changed files with 3 additions and 2 deletions
|
@ -9,7 +9,7 @@ data:
|
|||
nginx.conf: |
|
||||
user nginx;
|
||||
worker_processes 3;
|
||||
error_log /var/log/nginx/error.log; info;
|
||||
error_log /var/log/nginx/error.log info;
|
||||
pid /var/log/nginx/nginx.pid;
|
||||
worker_rlimit_nofile 8192;
|
||||
events {
|
||||
|
@ -21,7 +21,7 @@ data:
|
|||
log_format main '$remote_addr - $remote_user [$time_local] $status'
|
||||
'"$request" $body_bytes_sent "$http_referer"'
|
||||
'"$http_user_agent" "$http_x_forwarded_for"';
|
||||
access_log /var/log/nginx/access.log; main;
|
||||
access_log /var/log/nginx/access.log main;
|
||||
sendfile on;
|
||||
tcp_nopush on;
|
||||
keepalive_timeout 65;
|
||||
|
|
|
@ -18,6 +18,7 @@
|
|||
(st/instrument `cut/generate-build-cron)
|
||||
(st/instrument `cut/generate-nginx-service)
|
||||
|
||||
|
||||
(deftest should-generate-redirects
|
||||
(is (= "rewrite ^/products.html\\$ /offer.html permanent;\n rewrite ^/one-more\\$ /redirect permanent;"
|
||||
(cut/generate-redirects {:issuer "staging"
|
||||
|
|
Loading…
Reference in a new issue