I think it would be better to filter these out later.  The less the shared code has to know what nginx does and doesn't support the better.  What if we made the pyconf-to-nginx code have a list of unsupported directives that it would spit out a warning for (stripping them out)?