Hello everyone, I wanted to know if it's possible that if the page is called via IP, the user is redirected to another page than if it's called via domain. Is that possible using nginx? If so, how? Would this be possible by setting up the DNS setting corresponding to that domain? Could I set the DNS to point to 1.1.1.1/subdirect/ for example? Thanks!by protake - How to...
Hello, On my VPS, every php site will return a 502 Bad Gateway error. I'm aware of the problem that php-fpm kills itself if it runs out of memory. However, this shouldn't be the case here since this problem exists from the very beginning and also there is nearly no memory usage. I'm using nginx/1.2.1 and Debian 7.0 64 Bit. Site Config: server { root /var/www; index inby protake - How to...
It's just location ^~ /ddl/ { autoindex on; } With the right keyword it's so easy to find!by protake - How to...
Hello there! I want to have specified sub directory where I can see all the files available. Normally a 403 Forbidden will appear. Now I want it this way: For example like this: http://m44.img-up.net/Untitlede9ec.png (sorry for using Apache) I already have this: location ^~ /ddl/ { #What here?! } Because I want this list of files in every sub directory that start's witby protake - How to...