Need to check access logs from webserver in LXC-SM environment


  • User needs access to webserver's access logs to check which IPs have accessed their site.


  • Liferay DXP 7.3+


  • Webserver logs already contains the access logs in the Application log itself.
  • Logs format is as below, with $remote_addr added for user's IP:
    log_format  main escape=default  '[nginx] $http_host $remote_addr - $remote_user [$time_local] "$request" $status $body_bytes_sent $request_time "$http_referer" "$http_user_agent"';
Was this article helpful?
0 out of 0 found this helpful