Let's take this in 2 parts:
I understand that a server can run services (such as nginx) then
listen to localhost, then run Tor Server to create a unique tor
address and accept traffic from other Tor Servers into it.
My question is: is that server safe? Can someone trace the IP?
It is as safe as you allow it to be. If you are using just HTML with ...