뼈빌런 블로그

  • 홈
  • 태그
  • 방명록

nginx 2

Django + Channels (Redis) + Gunicorn + Uvicorn + Nginx 채팅 개발 시, 참고할 사항

Django + Channels + Gunicorn + Uvicorn + Nginx 조합으로 채팅 기능 배포 시, 아래 디지털 오션 문서를 참고했었는데 https://www.digitalocean.com/community/tutorials/how-to-set-up-an-asgi-django-app-with-postgres-nginx-and-uvicorn-on-ubuntu-20-04 그대로 따라해도 채팅 기능이 동작하지 않았다. 여러 삽질 끝에 패키치 재설치 및 설정값을 추가로 줘야 작동하는 것을 확인하였다. 1. Nginx 설정 웹소켓 도메인 처리 location /ws/ { proxy_pass [ 도메인 또는 Sock EX: http://unix:/run/gunicorn.sock ]; proxy_htt..

Python/Django 2023.07.10

Ubuntu 22.04 Nginx HTTPS 적용

$ sudo apt-get update $ sudo apt-get install software-properties-common $ sudo add-apt-repository universe $ sudo apt-get update $ sudo apt-get install certbot python3-certbot-nginx $ sudo certbot --nginx -d 사이트 주소 입력 # sudo certbot --nginx -d example.com # sudo certbot --nginx -d blog.example.com Certbox Process 첫 번째 내용 : 각종 보안 이슈 사항 등 정보 제공 - 관리자 이메일 주소 입력 두 번째 내용 : 이용 동의 관련 동의 선택 - 동의 세 번째 내용..

Python/Deploy 2023.07.10
이전
1
다음
더보기
프로필사진

뼈빌런 블로그

IT 개발 메모 기록

  • 분류 전체보기 (34)
    • Project (12)
      • [Project] Red Horse (9)
      • [Project] React DRF Blog (3)
    • React (1)
      • Next.js (7)
    • Python (9)
      • Django (2)
      • Deploy (5)
    • Java (1)
    • CS (4)
      • 알고리즘 (1)
      • 디자인 패턴 (3)

Tag

REACT, Blog, Slack API, drf, Red Horse, useSessionStorage, update_fields, nginx, Presigned URL, channels, ERD Editor, Next.js 14, Next.js, ERD, GoogleProvider, Uvicorn, ubuntu, Python, Django, redhorse,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2025/07   »
일 월 화 수 목 금 토
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31

방문자수Total

  • Today :
  • Yesterday :

Copyright © Kakao Corp. All rights reserved.

티스토리툴바