Thanks, received. Indeed adding just a single a space after the "return 301" get to the same result.
-Dan Mike Fischer <[email protected]> wrote: > > > Am 14.10.2024 um 04:35 schrieb Dan <[email protected]>: > > > > grep "return 301 $host$request_uri" *.conf > > The shell will interpret any $… sequences in double quotes as > variables. Use single quotes or try to escape the $ characters. > > > HTH > Mike >

