http_geo_module invalid option during compile !!

2014-06-08 Thread shahzaib shahzaib
Does nginx Geo module work on nginx ? I am getting the following error during compiling nginx-1.4.7 with it : ./configure --with-http_mp4_module --with-http_flv_module --with-http_geoip_module --with-http_geo_module --sbin-path=/usr/local/sbin --with-debug ./configure: error: invalid option "--w

Default host is being ignored?

2014-06-08 Thread nrahl
I created a default conf file: server { listen 80 default; listen 443 default; server_name ""; return 444; } and linked it in sites-enabled. The other server is declared with: server { listen 80; listen 443 ssl; server_name .mydomain.com; Accessing the https://xx.xx.