deny access to URL- nginx regex

What regex would I use to deny every URL using "?":

Ex. and

location (need regex){
deny all;


I believe \? would do what you want, ^\? is the reverse expression.

Need Your Help

Rails: how do you access RESTful helpers?

ruby-on-rails ruby rest routing

I'm trying to work through this guide to Rails routing, but I got stuck in section 3.3:

having trouble reading and writing to internal storage android

android file-io

I'm writing a simple budget app for myself, and I'm having trouble figuring out how to write to internal storage. I don't seem to be writing to the file properly, and I can't find any more in depth