You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We need to be able to have separate log files for access and error per server block in nginx. This is so that we can debug applications separately instead of looking at a generic log file . This is needed as we get more traffic and applications on Nginx.
Configuration that you might need in the template for each server:
server {
server_name
error_log /var/log/error_<deployment_name>.log error;
access_log /var/log/access<deployment_name>_.log router;
}
router and error here at the end of each lines represent the log format in nginx. I'll add another issue for the log format.
The text was updated successfully, but these errors were encountered:
We need to be able to have separate log files for access and error per server block in nginx. This is so that we can debug applications separately instead of looking at a generic log file . This is needed as we get more traffic and applications on Nginx.
Configuration that you might need in the template for each server:
server {
server_name
error_log /var/log/error_<deployment_name>.log error;
access_log /var/log/access<deployment_name>_.log router;
}
router and error here at the end of each lines represent the log format in nginx. I'll add another issue for the log format.
The text was updated successfully, but these errors were encountered: