![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
nginx
向往--全栈--之路
这个作者很懒,什么都没留下…
展开
-
Harbor(V2.8+) 登录时报错 net/http: TLS handshake timeout
harbor升级后 客户端登录出现了 TLS handshake timeout原创 2023-11-08 13:51:16 · 1233 阅读 · 0 评论 -
Nginx download 配置basicauth
前言在日常项目使用中,我们会使用Nginx来搭建网站,为客户提供文件下载。但是往往搭建后都是无认证了,对于一些保密文件无法提供有效保护。措施nginx中ngx_http_auth_basic_module模块实现让访问者提供正确的密码才能下载。默认情况下Nginx已经安装了ngx_http_auth_basic_module模块。语法简介auth_basic string | off; #默认是offauth_basic_user_file fileName;生成密码# ubuntus原创 2021-07-08 16:38:37 · 312 阅读 · 0 评论 -
Ubuntu 16.04 Nginx+keepalived 负载均衡
机器IPhostnameIP备注Master192.168.1.10Nginx主机 任务分发Backup192.168.1.11Nginx 备机node1192.168.1.12任务处理1node2192.168.1.13任务处理2操作系统以及软件版本OS Ubuntu 16.04 LTSNginx 1.10.3Kee...原创 2019-03-22 17:13:04 · 865 阅读 · 0 评论 -
ubuntu 16.04 nginx https
最近因项目需要需要使用https。直接附主体配置文件server { listen port; server_name 127.0.0.1; charset utf-8; ssl on; ssl_certificate /usr/src/app/ssl/server.crt; ssl_certific...原创 2019-01-24 15:46:38 · 318 阅读 · 0 评论 -
Nginx反向代理+跨域处理
Nginx 反向代理配置文件server{ listen 80; server_name _; location / { proxy_pass http://IP:port; proxy_redirect off; proxy_set_header Host $http_host; proxy_set_he...原创 2018-12-29 14:14:43 · 232 阅读 · 0 评论 -
(104: Connection reset by peer) while reading response header from upstream, client:
环境描述开发语言:python框架:django部署方式: nginx+uwsgi问题(104: Connection reset by peer) while reading response header from upstream, client: 解决方法在uwsgi配置文件中加上buffer-size = 65535参考stackoverflow...原创 2018-12-14 10:31:20 · 1721 阅读 · 0 评论 -
win10,win12R2中Nginx做反向代理
前期准备软件nginx windows service wrapper操作步骤将下载完的winsw-bin.exe文件重命名为nginx-service.exe创建nginx-service.xml文件<service> <id>nginx</id> <name>Nginx Service&am原创 2018-05-16 15:31:10 · 561 阅读 · 0 评论 -
centos 7操作命令指南
centos 7开启服务sudo systemctl enable docker #启动dockersudo systmctl enable nginx.service #启动nginxcentos 7 开启端口访问 sudo firewall-cmd --zone=public --add-port=80/tcp --permanent sudo firewall-cmd --reload原创 2017-11-12 21:08:22 · 3253 阅读 · 0 评论 -
ubuntu卸载软件
在使用了apt-get install nginx命令安装了nginx之后,如果需要卸载nginx,一般情况下是可以使用apt-get uninstall nginx。但是有些时候会出现了如下的情况:E: Invalid operation uninstall所以遇到这种情况了,可以使用以下的命令进行卸载:apt-get remove nginxapt-get autoremove nginx原创 2017-02-17 11:55:08 · 4331 阅读 · 0 评论 -
nginx + docker 反向代理
意义: 可以使界面更加友好 解决端口冲突问题环境:ubuntu14.04 + docker + docker-compose + nginx一、安装docker并配置加速器 安装:curl -sSL https://get.daocloud.io/docker | sh 配置加速器sudo curl -sSL https://get.da原创 2016-08-23 09:46:25 · 841 阅读 · 0 评论