サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
ブラックフライデー
easyengine.io
Here, we are dealing with 2 nginx servers. A front-end nginx, proxying request to another nginx-server running behind firewall. This backend-nginx is a WordPress setup, using PHP-FPM (fastcgi) on our case. Article is valid for any code/application running behind fastcgi upstream. To manage security properly, we need to pass-on visitors real-IP to backend-nginx. In backend-nginx, WordPress do some
If Nginx aborts your connection when uploading large files, you will see something like below in Nginx’s error logs: [error] 25556#0: *52 client intended to send too large body: This means, you need to increase PHP file-upload size limit. Following steps given below will help you troubleshoot this! Changes in php.ini To change max file upload size to 100MB Edit… Notes: Technically, post_max_size
Your All-in-One Dashboard for WordPress Sites on VPS and WP Cloud EasyEngine Dashboard gives a web interface to manage your VPS servers and EasyEngine CLI sites on them. We also support WP Cloud sites, so you can get the best of both worlds in one modern dashboard.
easyengine (ee) note: If you are using easyengine, you can accomplish everything in this article using command: ee site create example.com --wpfc In first part of this series, we have seen many combinations of different WordPress setup with different caching plugins. Today, we will use an altogether different way of caching! Rather than asking a complex PHP-MySQL application like WordPress to do s
If you get following error, when you try to start nginx… [emerg]: bind() to 0.0.0.0:80 failed (98: Address already in use) Then it means nginx or some other process is already using port 80. You can kill it using: sudo fuser -k 80/tcp And then try restarting nginx again:
Nginx has a variable $upstream_cache_status. This can be used for any upstream. We are using it mainly for our WordPress + fastcgi_cache. Define a new log_format in nginx.conf: log_format rt_cache '$remote_addr - $upstream_cache_status [$time_local] ' '"$request" $status $body_bytes_sent ' '"$http_referer" "$http_user_agent"';
I keep hearing good things about MySQL 5.6, so I decided to give it a try, even Ubuntu 12.04 LTS do not have launchpad repo for it. (atleast, as of July 10, 2013) Download & Install MySQL 5.6 deb package from official site You can get MySQL installers from https://dev.mysql.com/downloads/mysql/#downloads I ran following command to get MySQL 5.6.14 wget -O mysql-5.6.deb http://cdn.mysql.com/Downlo
Access logs We are using following format, which is also default nginx format named “combined”: $remote_addr - $remote_user [$time_local] "$request" $status $body_bytes_sent "$http_referer" "$http_user_agent" Explanation of fields is as follows: $remote_addr – IP from which request was made $remote_user – HTTP Authenticated User. This will be blank for most apps as modern apps do not use HTTP-base
このページを最初にブックマークしてみませんか?
『EasyEngine Dashboard - Manage WordPress Sites on Any Cloud』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く