Conflicting characters


#1

Hello, I created an ssh script to write a nginx configuration, however within that block of text there are three occurrences of the $ caratere, and it does not appear in the written file.

Look:

echo “try_files $uri $uri/ /index.php?$query_string;” >> myfile.txt

Result:
try_files uri uri/ /index.php?query_string;

See that the $ disappeared

How can I solve this?

Sorry for my english :frowning:


#2

@felipefreitasweb, most probably, the issue is connected to the environment variables.
Could you contact us at: support@buddy.works or via chat it-app? We’ve got a couple of questions