文件操作 - 5.249.157.183.conf
返回文件管理
返回主菜单
删除本文件
文件: /root/sh/etc/nginx_OLD/conf.d/5.249.157.183.conf
编辑文件内容
server { listen 5.249.157.183:80; server_name 5.249.157.183; root /usr/local/apache/htdocs/; index index.php index.html index.htm; access_log /usr/local/apache/domlogs/5.249.157.183.bytes bytes; access_log /usr/local/apache/domlogs/5.249.157.183.log combined; error_log /usr/local/apache/domlogs/5.249.157.183.error.log error; location / { location ~.*\.(3gp|gif|jpg|jpeg|png|ico|wmv|avi|asf|asx|mpg|mpeg|mp4|pls|mp3|mid|wav|swf|flv|html|htm|txt|js|css|exe|zip|tar|rar|gz|tgz|bz2|uha|7z|doc|docx|xls|xlsx|pdf|iso|woff|ttf|svg|eot|sh)$ { expires max; } location ~ [^/]\.php(/|$) { fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; if (!-f $document_root$fastcgi_script_name) { return 404; } fastcgi_pass unix:/opt/alt/php-fpm73/usr/var/sockets/nobody.sock; fastcgi_index index.php; include /etc/nginx/fastcgi_params; } } location ~* "/\.(htaccess|htpasswd)$" {deny all;return 404;} disable_symlinks if_not_owner from=/usr/local/apache/htdocs/; location /.well-known/acme-challenge { default_type "text/plain"; alias /usr/local/apache/autossl_tmp/.well-known/acme-challenge; } location /pma { proxy_pass https://127.0.0.1:2031; include proxy.inc; } location /roundcube { proxy_pass https://127.0.0.1:2031; include proxy.inc; } }
修改文件时间
将文件时间修改为当前时间的前一年
删除文件