码迷,mamicode.com
首页 >  
搜索关键字:配置nginx    ( 1389个结果
实现LNMP架构,并部署WordPress以及配置NGINX虚拟主机
1、编译安装LNMP,并安装wordpress1.1安装php,php-mysql,myql,php-fpm[root@c1~]#yuminstallphpphp-mysqlngnixmariadb-serverphp-fpm-y1.2编译安装nginx1.2.1安装依赖包[root@c1nginx]#yuminstallgccpcre-developenssl-develzlib-devel-y
分类:其他好文   时间:2020-06-02 09:47:26    阅读次数:90
nginx多个请求合并
nginx js、css多个请求合并为一个请求(concat模块) 模块介绍 mod_concat模块由淘宝开发,目前已经包含在tengine中,并且淘宝已经在使用这个nginx模块。不过塔暂时没有包含在nginx中。这个模块类似于apache中的modconcat。如果需要使用它,需要使用两个”? ...
分类:其他好文   时间:2020-05-30 19:40:19    阅读次数:150
安装nginx
1, 安装依赖包 yum -y install gcc zlib zlib-devel pcre-devel openssl openssl-devel 2. 下载解压文件 wget http://nginx.org/download/nginx-1.9.9.tar.gz tar -xvzf ngi ...
分类:其他好文   时间:2020-05-29 12:19:19    阅读次数:72
在Centos7.6上配置mysql主从
在阿里云Centos7.6上面配置Mysql主从数据库(master/slave),实现读写分离 在之前的一篇文章中,阐述了如何在高并发高负载的场景下使用nginx做后台服务的负载均衡:在阿里云Centos上配置nginx+uwsgi+负载均衡配置,https://v3u.cn/a_id_77但是不 ...
分类:数据库   时间:2020-05-27 18:27:21    阅读次数:88
dockerfile 基本语法
###FROM baseImage 使用那个基础镜像 MAINTAINER name 作者信息,谁写的 RUN command 构建的时候运行的命令 例如: RUN yum install nginx -y ADD source dest 拷贝本地的文件到镜像中,"本地"是指上下文,docker会画 ...
分类:其他好文   时间:2020-05-26 17:56:22    阅读次数:54
Nginx 的配置指令
原文:Nginx 的配置指令 我们已经了解了 Nginx 的基本命令和架构原理,下面该到最让人头疼也是最不容易理解的部分了,那就是 nginx.conf 这个配置文件,下面从 Nginx 的指令开始,一步步来讲解 Nginx 的配置。 Nginx 指令 先来看一个典型的 Nginx 配置文件示例。 ... ...
分类:其他好文   时间:2020-05-25 12:18:53    阅读次数:57
第二十一周
配置nginx反向代理,实现api.x.com域名代理本地9001端口1、编辑hosts文件192.168.43.157api.x.com2、编辑配置,http{}中添加配置:server{listen80;server_nameapi.x.com;location/{proxy_passhttp://127.0.0.1:9001/;}}server{listen9001;root/data/si
分类:其他好文   时间:2020-05-25 09:16:34    阅读次数:40
Nginx系列(九)——容器/微服务
Containers/Microservices容器/微服务Using the Official NGINX Imagedocker run --name my-nginx -p 80:80 -v /path/to/content:/usr/share/nginx/html:ro -d nginx ...
分类:其他好文   时间:2020-05-24 22:33:34    阅读次数:66
Nginx 常用命令
1. 启动 Nginx start nginx 2.停止 Nginx nginx -s stop nginx -s quit 3.Nginx 重载配置 nginx -s reload ...
分类:其他好文   时间:2020-05-19 22:22:31    阅读次数:48
死磕nginx系列-nginx日志配置
死磕nginx系列-nginx日志配置 nginx access日志配置 access_log日志配置 access_log用来定义日志级别,日志位置。语法如下: 日志级别: debug > info > notice > warn > error > crit > alert > emerg 语法 ...
分类:其他好文   时间:2020-05-18 18:44:42    阅读次数:45
1389条   上一页 1 ... 4 5 6 7 8 ... 139 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!