saving uncommitted changes in /etc prior to dnf run
This commit is contained in:
@@ -22,6 +22,25 @@ http {
|
||||
include /etc/nginx/mime.types;
|
||||
default_type application/octet-stream;
|
||||
|
||||
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
|
||||
'$status $body_bytes_sent "$http_referer" '
|
||||
'"$http_user_agent" "$http_x_forwarded_for"';
|
||||
|
||||
#log_format json escape=json '{"source": "nginx", "time": $msec, "resp_body_size": $body_bytes_sent, "host": "$http_host", "address": "$remote_addr", "request_length": $request_length, "method": "$request_method", "uri": "$request_uri", "status": $status, "user_agent": "$http_user_agent", "resp_time": $request_time, "upstream_addr": "$upstream_addr"}';
|
||||
|
||||
# log_format json escape=json '{"remote_addr": "$http_x_forwarded_for", '
|
||||
# '"host": "$host", '
|
||||
# '"remote_user": "$remote_user", '
|
||||
# '"time": "$time_local", '
|
||||
# '"request": "$request", '
|
||||
# '"status": "$status", '
|
||||
# '"body_bytes_sent": "$body_bytes_sent",'
|
||||
# '"http_referer": "$http_referer",'
|
||||
# '"http_user_agent": "$http_user_agent",'
|
||||
# '"upstrm": "$upstream_response_time",'
|
||||
# '"took": "$request_time",'
|
||||
# '"upstream_addr": "$upstream_addr"}';
|
||||
#
|
||||
#log_format json escape=json '{ "timestamp": "$time_iso8601", '
|
||||
#'"remote_addr": "$remote_addr", '
|
||||
#'"remote_user": "$remote_user", '
|
||||
|
||||
Reference in New Issue
Block a user