nginx debug http{ log_format mydebug '$document_root$fastcgi_script_name > $request'; } server{ access_log /xx mydebug }