Use relative paths in nginx.conf.
Added tests for nginx.conf.