Ubuntu 20.04 gunicorn, nginx, django 세팅하기

정규호·2023년 11월 28일
0

출처 : Anaconda 가상환경에서 Django-Gunicorn-Nginx 구축하기(Ubuntu 20.04LTS)

출처 : [Django]Django + Nginx + Gunicorn 연동하기 1

출처 : DigitalOcean에서 Nginx와 Gunicorn 오류 해결

출처 : How to keep environment variables when using sudo

$ export HTTP_PROXY=foof
$ sudo -E bash -c 'echo $HTTP_PROXY' 
-E, --preserve-env
             Indicates to the security policy that the user wishes to preserve their
             existing environment variables.  The security policy may return an error
             if the user does not have permission to preserve the environment.
profile
The Man Who Lift

0개의 댓글