Skip to content
forked from nginx/nginx

An official read-only mirror of http://hg.nginx.org/nginx/ which is updated hourly. Pull requests on GitHub cannot be accepted and will be automatically closed. The proper way to submit changes to nginx is via the nginx development mailing list, see http://nginx.org/en/docs/contributing_changes.html

Notifications You must be signed in to change notification settings

42-webserv/nginx

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

뜯어보는 Nginx

  • 한땀 한땀 뜯어 봅시다.

초기 사용 방법

  • init.sh 을 실행

디버깅 모드

  • src/core/nginx.c: main 함수 위치
  • data 폴더: 각종 생성 파일
  • data/logs: 로그 파일
  • data/conf: nginx conf 폴더
  • data/www: 루트, index.html (nginx.conf에 작성된 root의 경로)

서버 실행 모드

  • 루트 위치에 있는 nginx 실행

  • 에러 발생시 Activity Monitor에서 nginx 종료 후 실행

    -nginx: [emerg] bind() to 0.0.0.0:80 failed (48: Address already in use)


nginx

An official read-only mirror of http://hg.nginx.org/nginx/ which is updated hourly. Pull requests on GitHub cannot be accepted and will be automatically closed. The proper way to submit changes to nginx is via the nginx development mailing list, see http://nginx.org/en/docs/contributing_changes.html

About

An official read-only mirror of http://hg.nginx.org/nginx/ which is updated hourly. Pull requests on GitHub cannot be accepted and will be automatically closed. The proper way to submit changes to nginx is via the nginx development mailing list, see http://nginx.org/en/docs/contributing_changes.html

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 97.1%
  • Vim Script 2.1%
  • XS 0.5%
  • Perl 0.1%
  • Shell 0.1%
  • Makefile 0.1%