โฒ 10 โผ Regex and Nginx ๐ค [solved] (programming.dev) submitted 1 year ago by Rick_C137@programming.dev to c/webdev@programming.dev 9 comments fedilink hide all child comments Hi, I have this rule in my nginx config file location ~* \/(fileA.txt|fileB.txt)$ { return 404 'nothing here'; } but it's not working but location /fileA.txt { return 404 'nothing here'; } is working.... Any idea what's wrong ? Thanks.
[โ] Rick_C137@programming.dev [S] 1 point 1 year ago* Thank you @ramble81@lemmy.zip ๐ Post saved ! permalink fedilink source parent