Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Verified Commit b991fcdc authored by Nivesh Krishna's avatar Nivesh Krishna
Browse files

log x-ip

parent 4ac93aa1
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -25,7 +25,6 @@ server {
    log_not_found off;
  }
  location @searx {
    access_log  /dev/stdout main;
    include /etc/nginx/proxy_spot_params;
  }
}
+1 −1
Original line number Diff line number Diff line
@@ -14,7 +14,7 @@ http {
    include       /etc/nginx/mime.types;
    default_type  application/octet-stream;

    log_format  main  '$remote_addr - $remote_user [$time_local] "$request" '
    log_format  main  '$http_x_forwarded_for - $remote_user [$time_local] "$request" '
                      '$status $body_bytes_sent "$http_referer" '
                      '"$http_user_agent" "$remote_addr"';