1 Star 3 Fork 1

gpg / monaco-editor-vue

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
default.conf 726 Bytes
一键复制 编辑 原始数据 按行查看 历史
‘gaopuguang_zz’ 提交于 2023-09-18 14:51 . 0918
# nginx配置
server {
listen 80;
server_name localhost;
#charset koi8-r;
access_log /var/log/nginx/host.access.log main;
error_log /var/log/nginx/error.log error;
location / {
# root 根目录,默认nginx镜像的html文件夹,可以指定其他
root /usr/share/nginx/html;
index index.html index.htm;
# 如果vue-router使用的是history模式,需要设置这个
try_files $uri $uri/ /index.html;
}
#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 /usr/share/nginx/html;
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
NodeJS
1
https://gitee.com/gpg-dev/monaco-editor-vue.git
git@gitee.com:gpg-dev/monaco-editor-vue.git
gpg-dev
monaco-editor-vue
monaco-editor-vue
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891