Yes you can do it by editing a nginx virtual configuration file afterwards edit the 'settings.py' file.