Quantcast
Channel: Nginx Forum - How to...
Browsing all 4759 articles
Browse latest View live
↧

Hosting webcam with nginx on RPi

I like follow rtfm and have found some good installation HowTo's.I am configuring a webcam to view the entance to a honey bee hive.As a router to the web I'm running DD-WRT v24-sp2 (07/22/09) micro on...

View Article


Web (server) get overloaded only by holding F5

Hi,I have a high-performance server with high traffic and normally everything is ok (load, response, etc.) even in peak.The problem is that anyone can overload the server only by holding f5 for several...

View Article


Special characters in variable names

I wasn't able to find much documentation on the syntax of variables in nginx.In particular, how are special characters handled in the $arg_NAME and $cookie_NAME variables?The following doesn't seem to...

View Article

Re: location match help

I presume you're refering to all _files_ should be served from the /home directory if the user visits / ?For example:http://example.com/file.html -> /var/www/home/file.htmlhttp://example.com/ ->...

View Article

Re: Nginx MP4 streaming

I've never used the MP4 streaming module, so I can't really answer but:From memory, the stts MP4 atom maps frames to their display time. Basically for videos with a constant frame rate (most videos)...

View Article


Re: NGINX As a log for massive requests

If I'm understanding you correctly, would the nginx access log be suffice?The only issue I see is that if you're sending the parameter in the POST body, it won't be logged by nginx.If it's possible to...

View Article

Re: No caching static content.

Taking a total stab in the dark:Have you triedproxy_cache_min_uses 0;?Also I assume your back end is sending the appropriate caching headers? From the doco:The following response headers flag a...

View Article

Re: Websockets and ws url

I'm not quite sure why you need to do a proxy_redirect for websockets. My understanding is that proxy_redirect modifies the proxied Location/Refresh headers, which don't really relate to a websockets...

View Article


Re: location match help

Hello YumiThanks for the update. My current set up isroot /var/wwwlocation = / {root /var/www/home}M requrirement issite.com /var/www/homesite.com/blog /var/www/blogsite.com/user...

View Article


How to configure Nginx to allow 2 different url accessing one path/location

I configured Nginx as reverse proxy for my website. Now i want to configure nginx to serve 2 different url for accessing one location or path.ex. : URL A : http://example.com/a/ and URL B :...

View Article

Tomcat, domains and Nginx

Hello,I have some web apps on my tomcat serverAnd i have some domains name.I would like to redirect domain on it web app.If i'm usinglocation /app {proxy_pass http://host/app ;}My app works fineBut if...

View Article

Re: How to configure Nginx to allow 2 different url accessing one path/location

The alias directive is what you want: http://wiki.nginx.org/HttpCoreModule#alias

View Article

Re: Special characters in variable names

So I went through the source code and it appears that anything other than a letter, number or underscore is explicitly disallowed in variable names.However, you can use ${varname} type syntax.Hence,...

View Article


Re: location match help

Do you want *specific* folders to be served from the /home directory instead of the root?If so, you'll need to come up with a list of which folders you want served from /home, or a list of folders you...

View Article

Re: location match help

This is my directory structure/var/www/home/index.html/var/www/home/css/My.css/vaw/www/blog/index.html/var/www/admin/index.htmlI wanthttp://site.com -> /var/www/home/index.html(index.html read...

View Article


Re: How to configure Nginx to allow 2 different url accessing one path/location

Yumi Wrote:-------------------------------------------------------> The alias directive is what you want:> http://wiki.nginx.org/HttpCoreModule#aliasThank you Yumi for your information. The next...

View Article

Various kinds of nike surroundings max story

[url=http://www.shoesgreece9.com/]Nike Air Max[/url] have often been advanced for its time hence runners own always worn out them, but they're just equally valuable being a casual boot. They usually...

View Article


Discover the Latest Nike Zero cost

Whether you will be an sportsman or maybe not the most effective [url=http://www.chaussuresfree.fr/]Pas Cher Nike Free[/url] to have may be the Nike supplement. For lots of decades these days, Nike has...

View Article

escape $

Is there a way to escape the $My configtest returns nginx: [emerg] invalid variable name in line 2:location = 'dollar' {echo "$";}location /sitemap_ {rewrite ^/sitemap_(.*)-(.*)-(.*)\.(rss|xml)$...

View Article

Redirect from subdomain too url

Hello!Sorry for possivle newbe question, but i need know how to redirect from subdomain to specific URL.For example, there is subdomain subdomain.domain.com and need to redirect to url...

View Article
Browsing all 4759 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>