logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

nginx日志详解

一、日志分类        Nginx日志主要分为两种:访问日志和错误日志。日志开关在Nginx配置文件(/etc/nginx/nginx.conf)中设置,两种日志都可以选择性关闭,默认都是打开的。1、访问日志        访问日志主要记录客户端访问Nginx的每一个请求,格式可以自定义。通过访问日志,你可以得到用户地域来源、跳转来源、使用终端、某个URL访问量等相关信息。Ngin

HttpServletRequest.getScheme 结果总是http的解决办法

HttpServletRequest.getScheme 获取的结果总是http 的解决办法nginx.conf 中加入转发scheme,proxy_set_header X-Forwarded-Proto $scheme; 

docker安装gitlab

1、选择gitlab版本hub.docker.com网址里搜索gitlab-ce (-ce是社区版本)个人选择: twang2218/gitlab-ce-zh这个是中文版文档参考:https://hub.docker.com/r/twang2218/gitlab-ce-zh2、安装#########本步骤参考https://hub.docker.com/r/twang2218/gitlab-ce-

#gitlab
spring boot中spring.profiles.active的用法

1、在xml配置中加上 context:property-placeholder location="classpath:${spring.profiles.active}/app.properties"/>2、程序启动的时候加上jvm参数 -Dspring.profiles.active="dev"

pycharm运行python报错 CreateProcess error=2, 系统找不到指定的文件

运行别人的项目出现报错Error running 'train_frcnn': Cannot run program "C:\Users\Administrator\anaconda\envs\py3\bin\python" (in directory "E:\xxx\xxxxx"): CreateProcess error=2, 系统找不到指定的文件。此报错乃是运行环境有问题,找到项目目录下的.

Springboot web项目简单统计在线人数

web项目中都是短连接,无法根据连接的开启与断开做判断,只能简单的根据session的创建与销毁来判断在线人数,做不到实时统计。好了,直接上代码#1、springboot的启动类加上@ServletComponentScan注解#2、创建一个监听器@WebListenerpublic class OnlineSessionListener implements HttpSessionListene

spring+mybatis-plus 基于注解注入DataSource失败的解决

//Mybatis-plus的配置类(略去无关代码)@Configurationpublic class MyBatisConfig {@Resourceprivate DruidDataSource dataSource;@Beanpublic MybatisSqlSessionFactoryBean sqlSessionFactory(){MybatisSqlSessionFactoryBea

#spring
godot export template下载

【代码】godot export template下载。

文章图片
#godot#游戏引擎
    共 12 条
  • 1
  • 2
  • 请选择