Created
October 8, 2024 21:33
-
-
Save johnDorian/f9adcf9d77bf976a0bfc75a7b2c82dbf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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