Re: sites overlap in a EC2 server

2016-03-20 Thread ndrini
Thanks, I'll try it!! Andrea Posted at Nginx Forum: https://forum.nginx.org/read.php?2,265512,265518#msg-265518 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: sites overlap in a EC2 server

2016-03-20 Thread Francis Daly
On Sun, Mar 20, 2016 at 09:07:58AM -0400, ndrini wrote: Hi there, > If only ndrini.eu is enabled, the ndrini.eu site works all right, > but if I enable also dradambrosio.eu, the first also stops to work. > > > These are my settings: > > ndrini.eu > > server { > listen 80; > server_na

Re: Workers CPU leak [epoll_wait,epoll_ctl]

2016-03-20 Thread vizl
We found, that we are running 'truncate -s 0' to file before removing them. Can it potentially cause the mentioned above problems ? Posted at Nginx Forum: https://forum.nginx.org/read.php?2,264764,265516#msg-265516 ___ nginx mailing list nginx@nginx.o

Please help rewrite proper parameter

2016-03-20 Thread shiz
Hi, Sometimes, bots are notorious for doing that, arguments are over urlencoded. If someone knew a way to rewrite them back to their normal state, that would be awesome. e.g. Normal URL: www.site.com/file.php?param=blahblah URLs that bots try sometimes (often in fact - don't know where they

Re: sites overlap in a EC2 server

2016-03-20 Thread B.R.
Looks good, although you did not provide the whole configuration file (or chain if there are some include directives). You can test your configuration with nginx -t. On reload command, check the error logfile for errors. How do you 'enable' or 'disable' a domain? What tests are you doing? What re

sites overlap in a EC2 server

2016-03-20 Thread ndrini
Hi, I have an elatic virtual private server (EC2 VPS by Amazon), in which I would like to host two website (ndrini.eu and dradambrosio.eu). The first (ndrini.eu) is a django dinamic website, and the second (dradambrosio.eu) is only a static file (to be simpler as possible). If only ndrini.eu i