2 Star 0 Fork 0

木头人小站/nginx_config

Create your Gitee Account
Explore and code with more than 13.5 million developers,Free private repositories !:)
Sign up
Clone or Download
contribute
Sync branch
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
3 years ago
3 years ago
3 years ago
Loading...
README
MIT

项目介绍

nginx 的一些简单常用的配置,自己学习的一些记录。

目录结构

nginx_config
├── config      // 主要的配置
├── html        // 访问的资源
├── nginx       // nginx安装目录 需要自己安装
├── tool        // 使用到的工具
├── web-serve   // 服务端项目
├── web-vue     // vue单页面前端项目

使用方法

克隆该仓库到本地。

nginx 安装在 nginx 目录下。

nginxconf文件夹内的nginx.conf文件内添加以下include ../../config/*.conf;。 注意:要添加在http块中。

按照 hosts配置.txt 中的配置修改 hosts 文件,使得测试域名在本地可以访问。

启动 nginx 即可访问。

查看文档

https://blog.itmtr.cn/archives/nginx-config

Empty file

About

nginx常用配置,个人总结学习使用。 expand collapse
Cancel

Releases

No release

Contributors (2)

All

Language(Optional)

Activities

3年前推送了新的提交到 master 分支,34ade4f...2ed0a0d
3年前推送了新的提交到 master 分支,6105ba9...34ade4f
3年前推送了新的提交到 master 分支,d029104...6105ba9
3年前推送了新的提交到 master 分支,455defd...d029104
3年前推送了新的提交到 master 分支,9d6256f...455defd
Load More
can not load any more
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/itmtr/nginx_config.git
git@gitee.com:itmtr/nginx_config.git
itmtr
nginx_config
nginx_config
master

Search