nginx 수정 요청 헤더

1002 단어 nginx
     :
https://192.168.137.3/download/

node2->192.168.137.3:

root     26240  4980  0 04:06 pts/0    00:00:00 grep nginx
node2:/etc/nginx#cat /etc/nginx/nginx_http.conf 
events
    {
        use epoll;
        worker_connections 65535;
        multi_accept on;
    }

http
    {
        include       mime.types;
        default_type  application/octet-stream;
        tcp_nopush on;


        gzip on;
        gzip_min_length  16k;
        gzip_buffers     8 32k;
        gzip_http_version 1.1;
        gzip_comp_level 4;
        gzip_types     text/plain application/javascript application/x-javascript text/javascript text/css application/xml application/xml+rss;
        gzip_vary on;
        gzip_proxied   expired no-cache no-store private auth;
        gzip_disable   "MSIE [1-6]\.";

        server_tokens off;
       
        log_format  main  '[$HOST] - $remote_addr - $remote_user [$time_local] "$request" '
             '$status $body

좋은 웹페이지 즐겨찾기