Nginx domain work without be into sites-enabled

2015-08-02 Thread Eberx
Hello, I have many subdomains which is created into /etc/nginx/sites-enabled. For example 1. www.example.com 2. music.example.com 3. video.example.com are already enabled. and working fine. But I tried to remove music.example.com from public access. Then I did music.example.com from sites-enabl

Nginx proxy server

2015-08-02 Thread goga
Hi everyone. I need to create a mirror site. And I use the server Nginx. I was able to configure the server. And everything works fine. But I have a problem when trying to login on my site. If a password is good I redirect to the original site (www.example.com). If the password is bad I stay on my

Re: Static Content on Different Server Isn't Loaded??

2015-08-02 Thread smsmaddy1981
Hi Francis Thanks for your quick support, I will revert with my observations. Regards. Maddy Posted at Nginx Forum: http://forum.nginx.org/read.php?2,259786,260714#msg-260714 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/li

Re: Static Content on Different Server Isn't Loaded??

2015-08-02 Thread Francis Daly
On Sun, Aug 02, 2015 at 06:59:03PM -0400, smsmaddy1981 wrote: > "/content/img.jpg" is sepcific to an application and which is deployed on > "ser02". I'm going to guess that you mean "every request that starts with /content/ should be handled by ser02". In that case, your configuration should be l

Re: Static Content on Different Server Isn't Loaded??

2015-08-02 Thread smsmaddy1981
"/content/img.jpg" is sepcific to an application and which is deployed on "ser02". Whenenver an web request is made accessing the application (deployed on ser02)...through upstream configuration...the service responds reaching ser02...but static files (/content/img.jpg) are not rendered. The acces

Re: Static Content on Different Server Isn't Loaded??

2015-08-02 Thread Francis Daly
On Sun, Aug 02, 2015 at 06:36:13PM -0400, smsmaddy1981 wrote: > Answer below pls: > > Nginx is on "ser01" > file is on "ser02" How do you know that /content/img.jpg should be served from ser02, and not from ser01 or ser03? What is special about /content/img.jpg that says "this is on ser02"? (Yo

Re: Static Content on Different Server Isn't Loaded??

2015-08-02 Thread smsmaddy1981
Answer below pls: Nginx is on "ser01" file is on "ser02" //Maddy Posted at Nginx Forum: http://forum.nginx.org/read.php?2,259786,260710#msg-260710 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Static Content on Different Server Isn't Loaded??

2015-08-02 Thread Francis Daly
On Sun, Aug 02, 2015 at 05:44:27PM -0400, smsmaddy1981 wrote: Hi there, > Yes, the file/s are located. Verified with all servers. You make a http request for /content/img.jpg. The file /usr/local/nginx/html/content/img.jpg is on one of your five servers. You seem to report that nginx fails to

Re: Static Content on Different Server Isn't Loaded??

2015-08-02 Thread smsmaddy1981
Hi Francis, Yes, the file/s are located. Verified with all servers. Best regards, Maddy Posted at Nginx Forum: http://forum.nginx.org/read.php?2,259786,260708#msg-260708 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinf

Re: mp4 streaming/seeking works from firefox (fedora) and not from firefox (windows) (nginx 1.9.3)

2015-08-02 Thread tunist
i thought i had solved this by adding the header for accept-ranges - since when i did that i could then seek in firefox on windows 7. however, after testing further i found that the results are inconsistent and ultimately it is still somewhat broken. i have added more details to this to a new quest

Re: Memory leaks when used as a shared library

2015-08-02 Thread xfeep
Hi, Maxim, Thanks for your reply! --- > Well, the answer is simple: nginx is not designed to be a shared > library. If you want to convert it to be one, it's you who are > responsible for cleaning up various global allocations. > You're rig

Re: mp4 streaming/seeking works from firefox (fedora) and not from firefox (windows) (nginx 1.9.3)

2015-08-02 Thread Lucas Rolff
Be aware it doesn't work either in Chrome on mac :-) tunist 2 Aug 2015 13:16 oh, so the solution here was to add: add_header Accept-Ranges bytes; to the site's config file. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,260615,260702#msg-260702 ___

Re: mp4 streaming/seeking works from firefox (fedora) and not from firefox (windows) (nginx 1.9.3)

2015-08-02 Thread tunist
oh, so the solution here was to add: add_header Accept-Ranges bytes; to the site's config file. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,260615,260702#msg-260702 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/li

Re: Static Content on Different Server Isn't Loaded??

2015-08-02 Thread Francis Daly
On Sat, Aug 01, 2015 at 07:32:42PM -0400, smsmaddy1981 wrote: Hi there, > Issue arises, when trying to access services deployed on other servers > (2,3,4,5). request is reached via upstream servers configured. > Unfortunately, the static content (2,3,4,5) servers are not getting > fetched/loaded.