/etc/nginx/sites-enabled

nginx里面的sites-available和sites-enabled有什么区别

https://segmentfault.com/q/1010000009726769/

 

nginx 配置详解(新手必看)

https://www.cnblogs.com/jenkin1991/p/8301983.html

 

 

http {
    include       /etc/nginx/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  /var/log/nginx/access.log  main;
    sendfile        on;
    keepalive_timeout  65;
 
    # include /etc/nginx/conf.d/*.conf;

posted @ 2022-01-07 15:38  tonggc1668  阅读(304)  评论(0编辑  收藏  举报