location /media { alias /data/venv/flower/service/media; # your Django project's media files - amend as required } location /static { alias /data/venv/flower/service/static; # your Django project's static files - amend as required }
location / { proxy_pass http://11.11.11.11:10013; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; ### Most PHP, Python, Rails, Java App can use this header -> https ### proxy_set_header X-Forwarded-Proto $scheme; } }