Tags » Nginx

Allow caching when the request have cookies - nginx

Simply, ignore them. If Nginx sees it, it disables caching:

proxy_ignore_headers "Set-Cookie";
proxy_hide_header "Set-Cookie";

Why can't add-apt-repository command?

In ubuntu system, sometimes you might need to add a repository in system source list and do some installation.
But when you wanna try to use add-apt-repository, your system just said that it can’t find this command. 36 more words


Azure <3 Linux - Hack tốc độ web với HHVM trên Web server Nginx

Như bà trước mình đã hướng dẫn chúng ta đã hoàn tất việc tăng tốc độ trang web bằng việc kết hợp giữa HHVM và web server Apache, hôm nay mình sẽ hướng dẫn các bạn tối ưu truy xuất website của mình nhanh hơn nữa thì mình sẽ hướng dẫn các bạn kết hợp giữa HHVM và web server Nginx. 1,210 more words


ubuntu, django, gunicorn, nginx

sudo apt-get install nginx python-pip libpq-dev supervisor

export LC_ALL=C

sudo pip install django gunicorn psycopg2


sudo nano /etc/nginx/sites-available/default


server {
listen 80;

106 more words

Introduction to nginx

NGINX is a free, open-source, high-performance HTTP server and reverse proxy, as well as an IMAP/POP3 proxy server. NGINX is known for its high performance, stability, rich feature set, simple configuration, and low resource consumption. 162 more words


Extract .key and .crt files from JKS file

JKS file is a Java keystore. Using the Java keytool program, run the following commands

Export the .der file

keytool -export -alias sample -file sample.der -keystore my.jks… 62 more words

Install SSL certificates on Nginx

This article show how the SSL certificates purchased from Comodo can be deployed on a server running Nginx

You must have the server.key file (Private Key that was generated with the CSR code that used to activate/purchase the certificate. 88 more words