Issue
- User needs access to webserver's access logs to check which IPs have accessed their site.
Environment
- Liferay DXP 7.3+
Resolution
- 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"';