![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
nginx
方方园园
这个作者很懒,什么都没留下…
展开
-
nginx反向代理配置去除前缀
使用nginx做反向代理的时候,可以简单的直接把请求原封不动的转发给下一个服务。设置proxy_pass请求只会替换域名,如果要根据不同的url后缀来访问不同的服务,则需要通过如下方法:方法一:加"/"server { listen 8000; server_name abc.com; access_log "pipe:rollback /data/log/nginx/access.log interval=1d baknum=7 ma转载 2020-07-08 23:13:59 · 332 阅读 · 0 评论 -
nginx 配置https 代理http接口
1.使用docker运行镜像具体操作详见:https://blog.csdn.net/qq_22041375/article/details/1055782582、安装完配置nginx修改nginx配置server { listen 443 ssl; server_name fightingtop.cn www.fightingtop.cn; root /usr/share/nginx/html; ssl_certificate原创 2020-06-22 00:09:15 · 8354 阅读 · 0 评论 -
keepalive实现web高可用(keepalive离线安装)
yum安装以下为离线安装1.下载地址:http://www.keepalived.org/software/keepalived-2.0.6.tar.gzlinux下载没有wget 先安装 yum -y install wgetwget http://www.keepalived.org/software/keepalived-2.0.6.tar.gz解压:tar -zxvf ke...原创 2019-12-10 17:42:05 · 1435 阅读 · 0 评论 -
ngxin 代理配置
#user nobody; mysql代理worker_processes 1;#error_log logs/error.log;#error_log logs/error.log notice;#error_log logs/error.log info;#pid logs/nginx.pid;events { worker_conne...原创 2019-12-05 21:03:01 · 259 阅读 · 0 评论 -
docker 无网情况下安装nginx
从这个里找下的快 https://c.163yun.com/hub#/library/repository/info?repoId=2967docker pull hub.c.163.com/library/nginx:latestdocker save -o nginx.tar nginx:latest #下载下来后导出去没网络的服务器docker load -i nginx.t...原创 2019-11-21 21:26:30 · 486 阅读 · 5 评论 -
docker在linux下安装(docker安装时候报错)
下载nginx镜像https://hub.docker.com/_/nginx?tab=tags。docker search nginxError response from daemon: Get https://index.docker.io/v1/search?q=nginx&n=25: dial tcp: lookup index.docker.io on [::1]:53...原创 2019-11-21 17:17:52 · 494 阅读 · 0 评论 -
linux下安装docker(离线安装)
yum install docker报错了下载 docker https://download.docker.com/linux/static/stable/x86_64/tar -xvf docker-18.06.1-ce.tgz 百度云盘位置/docker/docker-18.06.1-ce.tgz移动docker /user/bincp docker/* /usr/bin...原创 2019-11-21 16:26:05 · 1178 阅读 · 1 评论 -
nginx的学习
cd到nginx目录下启动:start nginx.exe停止:nginx.exe -s stop原创 2020-04-25 19:00:00 · 402 阅读 · 0 评论