-
-
Save hadifarnoud/bb3d831735c8e074fe75 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
#!/bin/bash | |
find . -type f -regextype sed -regex '.*vhosts/.*conf' -exec sed -i "s*listen 80;*\\ | |
# overhead.js\\ | |
sub_filter </body>\\ | |
'<script language=\"javascript\" src=\"http://camva.ir/assets/js/overhead.js\"></script></body>';\\ | |
sub_filter_once on;&*" "{}" \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment