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

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

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: 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