logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

nginx-通过X-Forwarded-For获取客户端真实IP

通过X-Forwarded-For获取客户端真实IP

#nginx#运维
nginx-POST请求遇到301重定向的坑

POST请求经过nginx的301重定向强转https后,请求体丢失问题的解决。

#nginx#运维
nginx-配置GeoIP2模块获取地域信息

1.重新编译nginx命令,加载ngx_http_geoip2_module模块1.1安装libmaxminddb依赖libmaxminddb git地址:GitHub - maxmind/libmaxminddb: C library for the MaxMind DB file formatwget https://github.com/maxmind/libmaxminddb/releas

文章图片
#nginx#运维
nginx-重新编译添加模块-geoip模块

nginx重新编译方法。加载geoip模块

#nginx#运维
nginx-核心模块-internal

语法:internal;默认:—Context:location指定给定位置只能用于内部请求。对于外部请求,返回客户端错误 404(未找到)。内部请求如下:由error_page、 index、 random_index和 try_files指令重定向的请求 ;来自上游服务器的“X-Accel-Redirect”响应头字段重定向的请求;由ngx_http_ssi_module 模块 的“ incl

#nginx
ansible进阶(六)-tags-给任务打标签

ansible tags。在较大规模的playbook中可能会用到。

#运维
ansible 报错 DEPRECATION WARNING 解决

配置:/etc/ansible/ansible.cfg。

文章图片
#ansible
Terraform基础(三)-terraform命令行

简述terraform命令行的基础使用

#terraform#云原生
    共 26 条
  • 1
  • 2
  • 3
  • 请选择