Created
August 6, 2021 21:38
-
-
Save supermasita/1890a7bab928e5508c12b20aed7e61c8 to your computer and use it in GitHub Desktop.
NGINX - Search for a string in cache files
This file contains hidden or 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
# NGINX - Search for a string in cache files | |
# In this case, "0_rlng9eks" would be the ID of a video, which is passed in a request. | |
[root@server ~]# grep -ERl -m 1 "0_rlng9eks" /var/cache/nginx-vod/* | |
/var/cache/nginx-vod/c/8b/9af44fb9d8e8d337569e2087140ed8bc | |
/var/cache/nginx-vod/e/98/3f7a94cb5ce07b1995cbcd7da39fa98e | |
[root@server ~]# | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment