1# a test nginx conf 2user www-data; 3 4http { 5 server { 6 listen *:80 default_server ssl; 7 server_name *.www.foo.com *.www.example.com; 8 root /home/ubuntu/sites/foo/; 9 10 location /status { 11 types { 12 image/jpeg jpg; 13 } 14 } 15 16 location ~ case_sensitive\.php$ { 17 index index.php; 18 root /var/root; 19 } 20 location ~* case_insensitive\.php$ {} 21 location = exact_match\.php$ {} 22 location ^~ ignore_regex\.php$ {} 23 24 } 25} 26