陈占占 陈占占
3年前
Nginx+uWSGI+Django+SSL(https)安全证书中获取访问的IP地址信息
SECUREPROXYSSLHEADERSSL安全证书中的xforwardedforrequest.META.get("SECUREPROXYSSLHEADER")ifxforwardedfor:useripxforwardedfor.split(',')因为网站服务器会使用ngix等代理https(部署了SSL安全证书)
海军 海军
4年前
[前端必知 ]HTTP or TCP/IP 基础
<sectionid"nice"datatool"mdnice编辑器"datawebsite"https://www.mdnice.com"style"fontsize:16px;padding:010px;wordspacing:0px;wordbreak:breakword;wordwrap:break
不才 不才
4年前
mysql 基础学习笔记
<sectionid"nice"datatool"mdnice编辑器"datawebsite"https://www.mdnice.com"style"fontsize:16px;padding:010px;wordspacing:0px;wordbreak:breakword;wordwrap:break
Stella981 Stella981
4年前
C#序列化反序列化对象为base64字符串
之所以序列化为base64字符串方便传输,可存储在本地也可以是服务器publicclassSerializer{privateSerializer(){}publicstaticstringSerialize<T(Tobj)
Stella981 Stella981
4年前
Nginx 搭建直播流服务
搭建直播流服务器技术Nginxnginxrtmpmodule1.1.11(nginx插件)步骤1.下载nginx和nginxrtmpmodule源文件2.解压nginx和nginxrtmpmodule3../configureaddmodul
Wesley13 Wesley13
4年前
Android 开发之 Notification
调用步骤:调用getSystemService(NOTIFICATION\_SERVICE)方法获取系统的NotificationManager服务通过构造器创建一个Notification对象为Notification设置各种属性通过NotificationManager发送Notification
Wesley13 Wesley13
4年前
MySQL + KeepaLived 高可用
MySQLKeepaLived高可用1\.基础环境两台服务器,MySQL互为主从MASTER的IP:10.0.0.11BACKUP的IP:10.0.0.122.MASTER实操yumyinstallkeepali
Stella981 Stella981
4年前
Jenkins 迁移
jenkins迁移原服务器cdlib/jenkins/删除一些历史build减小打包大小rm/var/lib/jenkins/jobs/{projectname}/builds/打包:tarzcvfjenkins.tar.gzexclude.war
Stella981 Stella981
4年前
Docker搭建redis
环境准备系统:centos7.7192.168.33.14192.168.33.15192.168.33.16 端口号:63816382一.搭建redis集群(以下步骤在每台服务器上都要执行)1.安装dockeryumyinstalldockersystemctlstartdockersystemct
GoCoding GoCoding
2年前
RustDesk 远程桌面
RustDesk是一款开源远程桌面软件。有云服务器的话,可以几分钟就搭一个,本文是搭建的记录。