I have nginx setup to front a python paste instance. They are on the same box with paste serving from 127.0.0.1 and nginx serving to outside world.
The problem comes when my python app sets cookies, the domain stays with localhost rendering the cookies useless. Obviously I'm not the first to encounter this, but I'm having trouble finding the standard solution to this?