Skip to content

Instantly share code, notes, and snippets.

@johnDorian
Created October 8, 2024 21:33
Show Gist options
  • Save johnDorian/f9adcf9d77bf976a0bfc75a7b2c82dbf to your computer and use it in GitHub Desktop.
Save johnDorian/f9adcf9d77bf976a0bfc75a7b2c82dbf to your computer and use it in GitHub Desktop.
<div class="container">
<p>Viewing log file : /var/log/nginx/access.log</p>
<pre style="height:600px">
<?php
echo file_get_contents("/var/log/nginx/access.log");
?>
</pre>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment