文章预览
下载镜象 ---- docker pull nginx 复制默认配置 ------ mkdir /terry/www mkdir /terry/conf $ docker run –name tmp-nginx-container -d nginx $ docker cp tmp-nginx-container:/etc/ngi…
文章
标签
喜欢
共找到 27 篇相关文章
文章预览
下载镜象 ---- docker pull nginx 复制默认配置 ------ mkdir /terry/www mkdir /terry/conf $ docker run –name tmp-nginx-container -d nginx $ docker cp tmp-nginx-container:/etc/ngi…
文章预览
今天把nginx升级到nginx1.3.11版本,本来想spdy,不过无奈未果,以后有时间再启用吧. 不过升级后导致vps安装的wordpress多站点绑定域名却指向了默认的目录,幸好通过修改nginx虚拟主机对应的.conf配置文件实现. server { listen 80; server\_name loca…
文章预览
修改nginx配置文件 > > vim /etc/nginx/nginx.conf > > > ``` # Upstream to abstract backend connection(s) for php upstream php { server unix:/tmp/php-cgi.socket;…
文章预览
错误如下 > > could not build optimal types\_hash, you should increase either types\_hash\_max\_size: 1024 or types\_hash\_bucket\_size: 64; ignoring types\_hash\_bucket\_size > >…
文章预览
> > [error] 15515#0: \*260609 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined property: JPagination::$pagesTotal in /var/www/joomla/templates/ashton/html/com\_conten…
文章预览
``` # This is a default site configuration which will simply return 404, preventing # chance access to any other virtualhost. server { listen 8001 ; listen [::]:8001; …
文章预览
安装nginx ``` yum install nginx ``` ``` stream { #...... upstream local-proxy { server 127.0.0.1:8119; #union-proxy server 127.0.0.1:8120; #union-pr…
文章预览
Enter uWSGI ----------- UWSGI and its predecessors are a form of middleware for webservers. UWSGI is objectively better than alternatives . Getting Set Up -------------- W…
文章预览
To set up HTTPS with nginx, you need to create an SSL/TLS certificate and configure nginx to use it. Here are the general steps: 1. Obtain an SSL/TLS certificate from a trusted …