Reinis Rozitis
August 01, 2020 05:26AM
> I'm going over some Web Server STIGs (referenced here:
> https://www.stigviewer.com/stig/web_server_security_requirements_guide
> /) to make sure my NGINX web server is configured to comply with those
> security requirements. One of the requirements is that "The web server must
> initiate session logging upon start up." So my question is: Are there any
> NGINX documentation or resource that shows NGINX starts logging as soon
> as it's started before any requests are handled?

Imho for that to be true you would need to run nginx in debug mode with debug log.
http://nginx.org/en/docs/debugging_log.html

Since for a typical request / web application there is usually one line in the access log as the webserver has to wait for the upstream (or even on disk) to return the response (based on it has to decide on the http return code / content length etc).

rr

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

When does NGINX start logging

Roydiggs July 31, 2020 05:49PM

RE: When does NGINX start logging

Reinis Rozitis August 01, 2020 05:26AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 193
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready