Nginx
未读
3. Nginx极速版-动静分离
server {
listen 8002;
server_name ruoyi.tomcat;
# 动态代理
location / {
proxy_pass http://localhost:8080;
}
# 静态文件代理
location ~ \.(js|css|png|j
Nginx
未读
2. Nginx极速版-静态网页
静态页面配置 server {
listen 8000;
server_name admin-dev;
location / {
root /home/AdminLTE-3.2.0/dist;
index index.html index2.html index3.ht
Nginx
未读
1. Nginx极速版-基础
安装方式 下载开源文件手动编译安装: 2. nginx: download 3. nginx安装及其配置详细教程 - 知乎 (zhihu.com) 使用 yum 源安装 手动安装 mkdir -p /usr/local/nginx/logs
mkdir -p /usr/local/nginx/loc