As of Rakudo 2015.05, the `unit` declarator is required before using `module`, `class`, `role` or `grammar` declarations (unless it uses a block). Code still using the old blockless semicolon form will throw a warning. This commit stops the warning from appearing in the new Rakudo.
An application may use the DOCUMENT_URI or PATH_INFO param for routing requests internally. Routes typically assume a path is relative to the application, so in our example: "GET /scgi/foo/bar" would be matched with a get('/foo/bar') route selector. The nginx config should strip the location prefix, so the application doesn't have to hard-code its URI-space mount point. Also, use "location /scgi/" instead of "location /scgi", to enable the rewrite rule to always succeed. If client requests "/scgi", nginx automatically sends a 301 redirect to "/scgi/".