Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
0 votes
0 answers
20 views

Multi Tenant Docker App with a Authentication Server and APIs

Hi I am working on a web project and my current stack is as follows. I have nginx for http server, nextjs for frontend and django as backend. Simple stuff. Where you can register a company and each ...
Evren Bingøl's user avatar
0 votes
2 answers
35 views

Socket IO is rejecting requests from Nginx proxy

I have this docker application running several containers. One of these containers is a Python application that can handle both socket io requests and normal HTTP requests. Django's ASGI handles HTTP/...
lordsarcastic's user avatar
0 votes
0 answers
25 views

i want to deploy a djago project, using gitlab cicd. but i see "module not found error".but the path seems to be set correclty

I am currently working on a django project and need to deploy this to the server. I use gitlab for ci/cd purpose. for requests, i use the gunicorn and the nginx. i dockerized the nginx and the '...
Mohammad's user avatar
0 votes
0 answers
14 views

I want to configure my django admin as subdomain on nginx

I've configured Nginx to proxy requests for admin.myproject.com to my Django application running on port 8000. However, when accessing admin.myproject.com, it redirects to admin.myproject.com/admin ...
Ahamet Elh Rabe's user avatar
0 votes
1 answer
20 views

using nginx host multiple django apps/docker in one server. return to root path not the apps' path

I have a django app. The code snippet for the function load_form(request) in views.py. def load_form(request): if request.method == 'POST': newQAForm = QAForm(request.POST) if ...
Ag Long's user avatar
  • 75
0 votes
1 answer
42 views

Where is nginx.conf kept on Google App Engine flexible environment?

I am getting nginx.error: client intended to send too large body so I'm trying to fix by making changes to nginx.conf. This is in a Google App Engine that uses Django and deploys to the flexible ...
Dan Cogswell's user avatar
-1 votes
0 answers
31 views

receive and send arguments missing

TypeError at /ws/status/ app() missing 2 required positional arguments: 'receive' and 'send' I got to only receive and send two (2) positional argument errors for the websocket in the Django Rest ...
nicat mmmdv's user avatar
0 votes
0 answers
24 views

Django Deploy Nginx Bad Gateway no such file or directory

So, I've been struggling for the past week to deploy my Django project on my VPS server (domains.co.za). After all this time, I managed to figure out a few things on my own. My server runs on ...
Marco Fourie's user avatar
0 votes
1 answer
18 views

Why does Request.build_absolute_uri lead to localhost instead of the real domain?

I have a website deployed on Nginx and built on Django. The Request.build_absolute_uri link there for some reason leads not to the real domain and ip which is attached to it, but to localhost:8080 of ...
Somebody's user avatar
-1 votes
0 answers
36 views

How I Can Fix Django Deployment Error With Media Files and WhiteNoise

I set up my Django project with nginx, gunicorn, and whitenoise, using a Ubuntu environment. When I upload an image to my server, everything turns out excellent, but when making the request, it gives ...
Alberto Cordero's user avatar
0 votes
1 answer
23 views

Gunicorn cant find working directory on a remote Ubuntu machine (Django+nginx+gunicorn)

I have django application deployed on ubuntu machine, but it doesn't work because of error in gunicorn.service (it can't find work dir I wrote). My working directory is in /home/ubunut/project. ...
Khqy Op's user avatar
0 votes
1 answer
46 views

Gunicorn service stopping under supervisor with docker

I've using supervisor, nginx and gunicorn to deploy Django project with Docker. I'm running docker-compose up to build the project and nginx image. Going through other similar issues, it is ...
Uday Singh Khalsa's user avatar
0 votes
0 answers
50 views

Why /static/ not showing up for /admin in Django project?

So, I've been trying a bunch of things. Settings look good to me but maybe I am missing something. I use: PostegreySQL, Reddis, Celery beat, nginx, gunicorn. I can't figure out what the problem is: ...
Zebra Turner's user avatar
0 votes
1 answer
83 views

Bad Request and Invalid HTTP_HOST header in deployment NGINX + Gunicorn + Django?

Could you, please, help me with some suggestion where or how to find a resolution of my DisallowedHost exception? I have deployed my Django project to the DigitalOcean Ubuntu server with Nginx + ...
Mykhaylo Chornenkyy's user avatar
0 votes
0 answers
32 views

How to modify the nginx.conf file during AWS Elastic Beanstalk deployment

I have developed a Django application and deployed it in an Elastic Beanstalk environment (with nginx as proxy server). The Linux platform should be the first version because if I run the command: cat ...
Gregory's user avatar
  • 171

15 30 50 per page
1
2 3 4 5
264