18202186162
17661491216
proxy_cache my_cache {
server 20.0.:;
ttl 86400; }
location ~ .php$ {
try_files $uri =404;
php_value max_input_time=3600
php_value suhosin.enable=
php_value memory_limit=28M
php_value post_max_size=28M

php_value max_execution_time=3000
php_value max_requests=00
}
...
...
...
...
...
}
server {
listen 80;
return 30 https://$host$request_uri;
}
维护和监控
网站部署完成后,还需要定期更新系统和软件,检查服务器日志,优化配置,解决性能问题。同时,也需要关注网站的域名解析情况,确保能够通过域名正常访问网站。