Closed herbetom closed 1 month ago
No need. I just renamed the download.html file. But thanks anyway. :) I learned some syntax today.
Okay. Personally i would still fix it just so that nobody tries copying it and runs into the same situation. But your call. :)
At least the concept of only matching exactly with the = works:
$ curl https://fw.ff.tomhe.de/images.html
<html>
<head><title>301 Moved Permanently</title></head>
<body>
<center><h1>301 Moved Permanently</h1></center>
<hr><center>nginx</center>
</body>
</html>
$ curl https://fw.ff.tomhe.de/images.html
Test
in both cases there was a images.html in /.
otherwise a file like download.html in / will also match the /download location
https://github.com/freifunkh/ansible/pull/268#issuecomment-2118839084
maybe make sure that the jinja can handle the = modifier, haven't looked into that