Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ZebraHr committed Aug 22, 2023
1 parent d3d4f97 commit c5d872a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion backend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ RUN pip install -r requirements.txt --no-cache-dir

COPY . .

CMD ["gunicorn", "--bind", "0.0.0.0:9000", "kittygram_backend.wsgi"]
CMD ["gunicorn", "--bind", "0.0.0.0:8000", "kittygram_backend.wsgi"]
4 changes: 2 additions & 2 deletions nginx/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ server {

location /api/ {
proxy_set_header Host $http_host;
proxy_pass http://backend:9000/api/;
proxy_pass http://backend:8000/api/;
client_max_body_size 20M;
}
location /admin/ {
proxy_set_header Host $http_host;
proxy_pass http://backend:9000/admin/;
proxy_pass http://backend:8000/admin/;
client_max_body_size 20M;
}

Expand Down

0 comments on commit c5d872a

Please sign in to comment.