2 Star 0 Fork 0

Hair Loss Research Center/ybl-store-frontend

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
nginx.conf 1.48 KB
一键复制 编辑 原始数据 按行查看 历史
insorker 提交于 2025-01-05 17:55 . fix: 修复权限 bug
#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/json;
#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;
#gzip on;
# map $http_upgrade $connection_upgrade{
# default upgrade;
# '' close;
# }
# upstream webservers{
# server 127.0.0.1:8080 weight=90 ;
#server 127.0.0.1:8088 weight=10 ;
# }
server {
listen 18080;
server_name ybl-store-frontend;
#charset koi8-r;
#access_log logs/host.access.log main;
location / {
root /usr/share/nginx/dist;
}
#error_page 404 /404.html;
# redirect server error pages to the static page /50x.html
#
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root html;
}
# deny access to .htaccess files, if Apache's document root
# concurs with nginx's one
#
#location ~ /\.ht {
# deny all;
#}
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/hair-loss-research-center/ybl-store-frontend.git
[email protected]:hair-loss-research-center/ybl-store-frontend.git
hair-loss-research-center
ybl-store-frontend
ybl-store-frontend
master

搜索帮助