본문 바로가기

NGINX5

NGINX uWSGI 연결하기 NGINX Hosting Setting, uWSGI uWSGI란? The uWSGI project — uWSGI 2.0 documentation Included components (updated to latest stable release) The Core (implements configuration, processes management, sockets creation, monitoring, logging, shared memory areas, ipc, cluster membership and the uWSGI Subscription Server) Request plugins (impleme uwsgi-docs.readthedocs.io uWSGI는 : WSGI는 웹서버와 웹앱을 연결해주는 인터페이.. 2020. 8. 5.
NGINX 파일 HOSTING 하기(in linux ubuntu 18.04) NGINX hosting config 앞의 posting한 window와 거의 같지만, linux 계열에 설치된 nginx의 경우 config 파일의 위치나 구성이 약간 다릅니다. /etc/nginx/nginx.conf 의 경로에 파일이 nginx의 기본 config 파일 입니다. 또한 윈도우와 약간 다른 방식으로 설정을 할 것입니다. 현재 위의 nginx.conf 파일을 직접 수정하지 않고, nginx.conf가 include하는 다른 파일을 수정하여, 원래 기본 설정을 손대지 않은 상태에서 수정가능 하도록 해보겠습니다. 아래가 설치만 한상태의 nginx.conf 파일 입니다. server 설정부분이 없고, 대신, include라는 키워드가 보입니다. include /etc/nginx/sites-ena.. 2020. 3. 27.
NGIX 설치(on linux ubuntu 18.04) NGINX 설치(https://www.nginx.com/resources/wiki/start/topics/tutorials/install/) NGINX linux installer apt-get pacakge를 이용한 간단한 인스톨 sudo apt-get update v 먼저 apt-get으로 pacakge 정보를 update 한다. 이후 아래와 같은 방식으로 install시 현재 os에 설정된 package repository의 가장 최신 버젼이 깔린다. $ sudo apt-get install nginx nginx의 특정 버젼 install sudo apt-get install nginx=1.8.* sudo apt-mark hold nginx=1.8.* apt-mark hold로 현재의 nginx 버.. 2020. 3. 27.
NGINX 파일 HOSTING 하기(on Windows) NGINX hosting config window에 NGINX를 설치 하셧다면(http://madfishdev.tistory.com/2) 설치된 폴더에 conf 폴더를 열어 파일들을 확인합니다. 이중 nginx.conf가 default로 nginx가 로드해서 사용하는 config 파일 입니다. 아래와 같은 Default 설정을 확인 할수 있습니다. #user nobody; worker_processes 1; #error_log logs/error.log; #error_log logs/error.log notice; #error_log logs/error.log info; #pid logs/nginx.pid; events { worker_connections 1024; } http { include mim.. 2020. 3. 25.