반응형
#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 mime.types;
default_type application/octet-stream;
#log_format main '$remote_addr - $remote_user [$time_local] "$request" '
# '$status $body_bytes_sent "$http_referer" '
# '"$http_user_agent" "$http_x_forwarded_for"';
#access_log logs/access.log main;
sendfile on;
#tcp_nopush on;
#keepalive_timeout 0;
keepalive_timeout 110;
#gzip on;
server {
listen 9001;
server_name localhost;
root C:\work\cj_003\dcms-ui;
charset euc-kr;
#access_log logs/host.access.log main;
# location / {
# root C:\work\cj_003\dcms-ui;
# index index.html index.htm index.php;
# }
location / {
root C:\work\cj_003\dcms-ui;
fastcgi_pass localhost:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME C:\work\cj_003\dcms-ui$fastcgi_script_name;
include fastcgi_params;
fastcgi_buffers 16 16k;
fastcgi_buffer_size 32k;
}
location ~ \.css {
add_header Content-Type text/css;
}
location ~ \.js {
add_header Content-Type application/x-javascript;
}
location ~* \.(?:manifest|appcache|html?|xml|json)$ {
expires -1;
}
location ~* \.(?:jpg|jpeg|gif|png|ico|cur|gz|svg|svgz|mp4|ogg|ogv|webm|htc)$ {
expires 1M;
access_log off;
add_header Cache-Control "public";
}
#error_page 404 /404.html;
# redirect server error pages to the static page /50x.html
#
error_page 500 502 503 504 /50x.html;
# location = /50x.html {
# root html;
# }
# proxy the PHP scripts to Apache listening on 127.0.0.1:80
#
#location ~ \.php$ {
# proxy_pass http://127.0.0.1;
#}
# pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
#
#location ~ \.php$ {
# root html;
# fastcgi_pass 127.0.0.1:9000;
# fastcgi_index index.php;
# fastcgi_param SCRIPT_FILENAME /scripts$fastcgi_script_name;
# include fastcgi_params;
#}
# deny access to .htaccess files, if Apache's document root
# concurs with nginx's one
#
#location ~ /\.ht {
# deny all;
#}
}
# another virtual host using mix of IP-, name-, and port-based configuration
#
#server {
# listen 8000;
# listen somename:8080;
# server_name somename alias another.alias;
# location / {
# root html;
# index index.html index.htm;
# }
#}
# HTTPS server
#
#server {
# listen 443 ssl;
# server_name localhost;
# ssl_certificate cert.pem;
# ssl_certificate_key cert.key;
# ssl_session_cache shared:SSL:1m;
# ssl_session_timeout 5m;
# ssl_ciphers HIGH:!aNULL:!MD5;
# ssl_prefer_server_ciphers on;
# location / {
# root html;
# index index.html index.htm;
# }
#}
}
반응형
'mv2 > w20' 카테고리의 다른 글
드라마 스테이지 김희선 검스 각선미 (0) | 2020.01.02 |
---|---|
2019년 공무원 급여표 - 5급 사무관 연봉, 7급 공무원 연봉, 9급 실수령액 급여 월급 (0) | 2019.11.05 |
G 포병숫자, 포네틱코드 알파 브라보 찰리 델타 에코 vs 알파 베타 감마 델타 (그리스문자) vs 모노 디 트리 (라틴어숫자) : 라져, 폭스투 뜻 (0) | 2019.08.28 |
2020년 경찰공무원 봉급표 2020 교사 호봉표 '20년도 공무원 월급표 (0) | 2019.08.23 |
근로기준법 여름휴가 연차 포함! 차감? (0) | 2019.07.11 |
최근 우주소녀 성소 인스타그램.jpg (0) | 2019.06.04 |
최연소 미스춘향 출신 한지윤 근황.jpgif 이슬로 개명 락킷걸 인스타그램 (0) | 2019.06.04 |
2019년 종합소득세 신고기간, 신고방법 5월 프리랜서 종소세 (0) | 2019.05.07 |