Prodan Labs Prodan Labs
4年前
Kubernetes Ingress — NGINX
在Kubernetes中,Service是一种抽象的概念,它定义了每一组Pod的逻辑集合和访问方式,并提供一个统一的入口,将请求进行负载分发到后端的各个Pod上。Service默认类型是ClusterIP,集群内部的应用服务可以相互访问,但集群外部的应用服务无法访问。为此Kubernetes提供了NodePorts,LoadBalan
Stella981 Stella981
3年前
Nginx 反向代理Springboot oAuth https配置方案
Nginx配置方案server{listen80;server_namewww.yourname.com;rewrite^(.)$https://${server_name}$1permanent;}server{
Stella981 Stella981
3年前
Docker使用nginx
安装完Nextcloud之后,下一步就是启用https了。在不使用Docker的时候,一般都是去服务器(如apache)里面启用https功能并添加证书,但是我在https://hub.docker.com/\_/nextcloud(https://www.oschina.net/action/GoToLink?urlhttps%3A%2F%2Fhu
Stella981 Stella981
3年前
Nginx配置优化
一、配置Nginx隐藏版本号 1修改源码包,必须在安装之前(测试命令curlIhttp://192.168.200.102)yumyinstallpcredevelzlibdevelopenssldevel gccgcccmakeuseraddMs/sbin/nologinnginxtarx
Stella981 Stella981
3年前
Nginx测试实验
Nginx版本如何查看(windows系统下)!(https://oscimg.oschina.net/oscnet/56356bcb22da029a316641be84883aa0258.jpg)使用命令 nginxv!(https://
Stella981 Stella981
3年前
Nginx快速安装
登录nginx官网,点击download!(https://oscimg.oschina.net/oscnet/cbbf95a1f35af2c4d24f0508229bf20e513.png)点击稳定版本!(https://oscimg.oschina.net/oscnet/9b1a9eb422fec4d9c4be2218261418bc
Stella981 Stella981
3年前
Nginx路由重写
server{listen80;server_name_;access_log/data/wwwlogs/access_nginx.logcombined;root/data/wwwroot/default;indexindex.htmlinde
Stella981 Stella981
3年前
CODING DevOps + Nginx
作者:王炜,CODINGDevOps后端开发工程师,拥有多年研发经验,云原生、DevOps、Kubernetes资深爱好者,Servicemesher服务网格中文社区成员。获得KubernetesCKA、CKAD认证。前言在Kubernetes上的应用实现灰度发布,最简单的方案是引入官方的Nginxingress
Stella981 Stella981
3年前
ASP.NET Core 静态资源的打包与压缩
以VisualStudioCommunity201715.5.1为例配置文件bundleconfig.json新建一个AspNetCoreMVC项目,项目中会有一个bundleconfig.json文件,该文件就是静态资源打包与压缩的配置文件.通常bundleconfig.js
Stella981 Stella981
3年前
Mac安装Redis
使用Homebrew安装Redis(1)安装命令brew install redis(2)查看软件安装及配置文件位置Homebrew安装的软件会默认在/usr/local/Cellar/路径下;redis的配置文件redis.conf存放在/usr/loca