为了使 Gitea 为顶级安装提供自定义的robots.txt(默认为空的 404),请在 [custom文件夹或CustomPath](administrat
图文详解在window中如何使用tortoisegit(俗称小乌龟)提交代码到GitHub网站
前置条件Gogs版本 0.13.0 app.ini配置文件在[repository] 节点添加下面配置; Default branch name when cr
背景该方式用于合并代码非常有用步骤1:拉取需要合并的分支到本地 步骤2:Merge 提示:不要直接点右下角的分支,"Merge into current",该操作会合并后自本地提交
通过crontab 任务,定时reloadnginx -s reload
最近博客升级总是nginx原生的502页面,感觉有些不友好,特此研究了下502页面的配置nginx 502配置502页面核心配置 #502 page error_...
nginx日志默认格式如下:$remote_addr-$remote_user[$time_local]"$request"$status$body_bytes_sent"$http_refer...
Nginx 配置日志nginx默认的日志配置在nginx.conf配置文件。
内置变量$args #请求中的参数值$query_string #同 $args$arg_NAME #GET请求中NAME的值$is_args #如果请求中有参
Linux(centos) nginx安装和nginx入门配置方法1.切换至root用户$su - 2.执行在线安装命令#yum install nginx -y 如果上面提示以下内容[root...
Nginx的upstream支持5种 分配方式,其中 轮询、权重、IP散列这三种为Nginx原生支持的分配方式,fair 和 url_hash 为第三方支持的分
Nginx 配置robots.txt禁止收录,在对应的server里面添加以下配置 location =/robots.txt { default_type t
匹配语法匹配语法[ = | ~ | ~* | ^~ | @ ] /uri/ 解释:uri是指匹配路径[ = | ~ | ~* | ^~ | @ ] 是指匹配规则
解决centos系统使用yum安装nginx启动时报错[::]:80 failed (97: Address family not supported by protocol)一般默认的使用yu...
nginx代理Tomcat带路径的项目location / {                 proxy_pass http://localhost:8080/v1/;          ...