I use a Nginx as the reverse proxy. Here is the scenario. The original server is Server A. The reverse proxy is Server B. Web users are browser the website through Server B. The web log of Server A just received the IP address of server B. All users are shared one remote address. It
First I need to make sure my Nginx has the geoip module. Check it by entering the command below. My Nginx shown the results as below. I found –with-http_geoip_module=dynamic It is cool, I have the geoip module with my Nginx installation. Second, I need GeoIP country database. Here is the official site to download the
It is easy to get an A+ on your website. But it is a little bit hard to make a 4 parts, Certificate, Protocol Support, Key Exchange, and Cipher Strength, to be 100%. Most of time, I got A+ rating of my site. For individual scores, the last two are 90%. Let me break down.
I have a site, which use nginx as web server and php-fpm as php interpreter. Most of the files use html extension name. My nginx conf file has following section. But, when I enter the url such as https://example.com/sample.html, whose content is php script. It did not work. The solution is to change the config
My new server uses Nginx as a web server. When I check the error log of it, I saw a lot of warnings. 2016/08/27 07:30:03 [warn] 11951#11951: *590544 an upstream response is buffered to a temporary file /var/cache/nginx/fastcgi_temp/3/28/0000008283 while reading upstream, client: 18.104.22.168, server: www.phpbbchinese.com, request: “GET /download/file.php?id=109 HTTP/1.1”, upstream: “fastcgi://unix:/run/php/php7.0-fpm.sock:”, host: “www.phpbbchinese.com” I did
Now, a lot of web site are going to add SSL for security purpose. Just like my site here, the SSL Report is as below. It is A+. The score is great. When I look at it close. There are four parts. Three of them are not 100%. Can I make it all 100? I
I have a web site, which was powered by Nginx 1.7. The SPDY 3.1 was enabled. Later last week, I upgraded it to Nginx 1.9.7 mainline version. HTTP/2 already built with Nginx from version 1.9.5. Why not enable HTTP/2? I just did a very rough test. 1. Pingdom testing tool SPDY 3.1: Performance Grade
Here is the guide to show you how to install the Comodo SSL certificate in Nginx. Order Comodo Certificate. And received the Certificate files. I don’t discuss how to get it, where to get it. It is another topic. You will receive following files. Positive SSL certificate, it is a zip file emailed to you.
Here is my solution to do the redirection. Say, I have a web site. I host it with SSL. I want all these three type of host go to the same Unique Internet Address. From: http://example.com/ http://www.example.com/ https://example.com/ To: https://www.example.com/ There are some requirement: Nginx v1.8 SSL Certificate is issued for both example.com and www.example.com
It is a error on Nginx Web Server. Actually happened when I tried to import a large sql backup into MySQL server through phpmyadmin. First, I change the upload limit or max file size on php.ini upload_max_filesize = 100M post_max_size = 100M And restart the HHVM. Then I got the error. 413 Request Entity Too