码迷,mamicode.com
首页 >  
搜索关键字:nginx log 切割    ( 119445个结果
【转】Java+Nginx获取用户的真实IP
原文:https://www.cnblogs.com/powerwu/articles/12978664.html 偶然看到一条命令可以获取访问者的真实 IP,就想自己实现一下。 命令如下: curl icanhazip.com 我是用的 Java 程序 + Nginx 实现的,没什么难度,但是 N ...
分类:编程语言   时间:2021-04-27 14:56:07    阅读次数:0
Centos 7建立本地内网源
原文地址: https://blog.csdn.net/oToyix/article/details/106170701 repo的路径不要放到root下,放到/usr/share/nginx/下,要不没权限 Centos 7建立本地内网源一、环境二、先配置163base源及阿里epel源三、建立本 ...
分类:其他好文   时间:2021-04-27 14:52:02    阅读次数:0
MYSQL已有数据库有部分数据,做主从复制.
已经有数据库,做主从复制 服务器 备注 数据库 192.168.137.6 Master 有2个数据库,不同步mysql数据库 192.168.137.3 Slave 没有数据库 Master操作 [mysqld] #############better########### log-bin = / ...
分类:数据库   时间:2021-04-27 14:50:54    阅读次数:0
参加第一次活动,未参加第二次活动用户
select a.id,a.userid,c.openid from ko_answer_score a left join (select userid from ko_answer_log where answer_time > '2018-02-24 00:00:00' and answer_ ...
分类:其他好文   时间:2021-04-27 14:38:46    阅读次数:0
element table 表格嵌套
/////////////////////////// 代码如下 <template> <div class="report-forms-page"> <div class="report-forms-main"> <div class="bottomForm"> <div style="margi ...
分类:其他好文   时间:2021-04-27 14:31:54    阅读次数:0
ASP.NET Core中使用NLog记录日志
1:添加Nlog的组件 直接在NuGet里面搜索NLog.Web.AspNetCore 2:然后就是配置服务 public class Program { public static void Main(string[] args) { CreateHostBuilder(args).Build() ...
分类:Web程序   时间:2021-04-27 14:26:50    阅读次数:0
The body of a for-in should be wrapped in an if statement to filter unwanted properties from the pro
ESLint模式下for in遍历对象会报错,可以这样解决: let val = { shu: [1, 2, 3] }; for (let item in val) { if (val.hasOwnProperty(item)) { console.log(item); } } 因为我们在遍历一个对 ...
分类:移动开发   时间:2021-04-27 14:25:28    阅读次数:0
k8s安装常用软件的yaml文件
参考网址:https://www.bejson.com (网站文件部分有坑,需要擦亮眼睛) nginx k8s版本:v1.20 apiVersion: apps/v1 kind: Deployment metadata: name: my-nginx namespace: test spec: re ...
分类:其他好文   时间:2021-04-26 14:08:07    阅读次数:0
多级缓存介绍
整体分成三部分缓存:应用Nginx本地缓存、分布式缓存、Tomcat堆缓存。 每层都用来解决相关问题,第一层解决热点缓存的问题,第二层减少访问回源率,第三层防止相关缓存失效/崩溃之后的冲击 11.2 如何缓存数据 11.2.1 过期与不过期 过不过期应该根据业务和数据量等因素决定 不过期缓存的场景 ...
分类:其他好文   时间:2021-04-26 13:59:54    阅读次数:0
nginx创建本地服务器和配置代理(解决跨域)
1,下载nginx 2,解压后打开conf/nginx.conf 修改配置 server { listen 8841;#监听端口 server_name localhost;#代理服务地址 location / { #默认访问 root html; index index.html index.ph ...
分类:其他好文   时间:2021-04-26 13:57:20    阅读次数:0
119445条   上一页 1 ... 50 51 52 53 54 ... 11945 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!