软件:nginx

差别

这里会显示出您选择的修订版和当前版本之间的差别。

到此差别页面的链接

两侧同时换到之前的修订记录 前一修订版
后一修订版
前一修订版
软件:nginx [2025/10/21 23:34] admin软件:nginx [2025/11/21 23:54] (当前版本) admin
行 98: 行 98:
         root   /usr/share/nginx/html;         root   /usr/share/nginx/html;
     }     }
 +}
 +
 +location = /adminer.php{
 +    root /var/www/html;
 +    try_files $uri =404;
 +    fastcgi_pass unix:/run/php/php8.2-fpm.sock;
 +    include fastcgi_params;
 +    fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
 } }
  
行 143: 行 151:
  
 <code -> <code ->
 +apt -y install openssl 
 +
 openssl req -x509 -nodes -days 365 -newkey rsa:2048 \ openssl req -x509 -nodes -days 365 -newkey rsa:2048 \
     -keyout localhost.key \     -keyout localhost.key \
  • 软件/nginx.1761060871.txt.gz
  • 最后更改: 2025/10/21 23:34
  • admin