server { listen 80; listen [::]:80; server_name localhost; charset utf-8; # max upload size client_max_body_size 75M; # Django media location /media { alias /path/to/your/mysite/media; } location /static { alias /home/user_app/PycharmProjects/venvFolder/FolderProjektDjango/FolerApp/static; } location / { proxy_pass http://localhost:8080; } }