1 Star 0 Fork 293

biqiuni/shopTNT电商系统-前端(PC端 商家PC端 管理端)

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
nginx.conf 1.93 KB
一键复制 编辑 原始数据 按行查看 历史
tnt 提交于 2023-06-20 09:13 . 初始化
#这个文件给docker用的
#user nobody;
worker_processes 1;
#error_log logs/error.log;
#error_log logs/error.log notice;
#error_log logs/error.log info;
#pid logs/nginx.pid;
events {
worker_connections 1024;
}
http {
include mime.types;
default_type application/octet-stream;
#log_format main '$remote_addr - $remote_user [$time_local] "$request" '
# '$status $body_bytes_sent "$http_referer" '
# '"$http_user_agent" "$http_x_forwarded_for"';
#access_log logs/access.log main;
sendfile on;
#tcp_nopush on;
#keepalive_timeout 0;
keepalive_timeout 65;
client_max_body_size 10m;
gzip on;
gzip_min_length 5k;
gzip_buffers 4 16k;
gzip_http_version 1.0;
gzip_comp_level 4;
gzip_types text/plain application/x-javascript application/javascript text/css application/xml text/javascript application/x-httpd-php image/jpeg image/gif image/png;
gzip_vary on;
server {
listen 3000;
server_name localhost;
location / {
root /app/buyer;
try_files $uri $uri/ /index.html $uri/ =404;
index index.html index.htm;
}
}
server {
listen 3002;
server_name localhost;
location / {
root /app/seller;
try_files $uri $uri/ /index.html $uri/ =404;
index index.html index.htm;
}
}
server {
listen 3003;
server_name localhost;
location / {
root /app/admin;
try_files $uri $uri/ /index.html $uri/ =404;
index index.html index.htm;
}
}
server {
listen 3004;
server_name localhost;
location / {
root /app/decor;
try_files $uri $uri/ /index.html $uri/ =404;
index index.html index.htm;
}
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/biqiuni/pc-ui.git
[email protected]:biqiuni/pc-ui.git
biqiuni
pc-ui
shopTNT电商系统-前端(PC端 商家PC端 管理端)
5.2.3

搜索帮助