fixed nginx.py