Sorry but why do you want this ABE web interface? Start ABE in no-serve mode and access the mysqldb directly with your script.
There are two reasons why you should do this:
- no-serve mode is saver, because ABE doesnt start the webinterface and so isnt offering any ground for hacker attacks.
- no-serve mode is faster, the webinterface isnt doing anything else besides starting calls to the database. So if you use RPCs, you have to call the webinterface, python code is interpreted and executed and finally a mysql call is made. The result is passed back to python, which outputs it then to your call. you have to parse the output and so on. As you can see, alot of overhead.
If you think now, that you are a noob, and that the database looks very complicated, and that you have no idea how the MySQL code should look like, then just check the python code and copy the MySQL commands. Its more complicated for sure, but its the better solution.
I have no idea how nginx handles fcgi, but after all the problems i had over the years with apache lighttpd cgi bitcoind ABE ... I think 2 BTC by far wont be attractive for someoen to install it for you.