UOS统信系统配置NGINX,
UOS统信系统配置NGINX,
文章目录
- 赛题
- 1.安装nginx和php
- 2.编辑配置文件
- 3.创建文件夹并写入文件
- 4.重启服务
- 5.客户端测试
- 如果不能安装服务点这里
赛题
2.WEB 服务
安装 nginx 软件包;
配置文件名为 ispweb.conf,放置在/etc/nginx/conf.d/目录下;
网站根目录为/mut/crypt(目录不存在需创建);
启用 FastCGI 功能,让 nginx 能够解析 php 请求;
index.php 内容使用 Welcome to 2022 Computer Network Application contest!
1.安装nginx和php
root@ispsrv:~# apt install nginx php php-fpm -y
评论暂时关闭