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

Re: Why Nginx redirect www to non-www urls?

> Ex: when I type "www.mysite.com" I surf this site with www, when I type "mysite.com" I surf this site with www. No redirectCan you explain what is not happening or what you expect to happen? both...

View Article


Re: Why Nginx redirect www to non-www urls?

I resolved it after a deep study of my sites. In my server I have two sites: the first is written by me (a managerial software), and the second uses WordPress. I noticed out that the first site can be...

View Article


Does Nginx really include charset maps

I'm using Linux Debian WheezY with PHP 5.5.1 and Nginx 1.6.2 and search for a solution to open files with german umlauts as, for example, "vögel.jpg" or files in directories with german umlauts, but it...

View Article

Add Expire header for Nginx

Hello,I have a VPS with WHM, NginxCP, Memcached, Wordpress site with WP-SuperCache installed on it.I would like to add the expire header for Nginx.I tried many tutorial online but no way still get...

View Article

Re: Add Expire header for Nginx Configuration files Addes

Nginx.conf :------------------------user nobody;# no need for more workers in the proxy modeworker_processes 6;error_log /var/log/nginx/error.log warn;worker_rlimit_nofile 20480;events...

View Article


proxy_pass

Hi,I'm new on nginx, but I don't find answer to my problem in the documentation:for my BC, I would like to be redirected to another webserver like this:if I enter...

View Article

Implement New Load Balancing Algorithm

How to implement new load balancing algorihtm in nginx? i found a new method from one paper to do a load balancing using content-based, and i want to try to realize this method in my own cluster in my...

View Article

Re: Implement New Load Balancing Algorithm

It depends how you detect which content is which, with Lua you can peek into requests at lower levels and then decide which upstream to use.So you need to explain first what the test criteria is before...

View Article


Re: Implement New Load Balancing Algorithm

Actually i'm new in nginx, the truth is i still don't have a plan about this.. But i have one concept to cluster every request coming from client by requested header or page. Let's say i have cluster A...

View Article


Re: Implement New Load Balancing Algorithm

You can use 'map' to set a variable based on several client browser values and use that variable to pass the request to whichever proxy or fcgi server.Some reading...

View Article

Re: Implement New Load Balancing Algorithm

Anyway thanks for the information about map, it's really nice thing.. But my problem isn't the way to pass the request to some server, i have to implement my own algorithm on nginx. It is have to be...

View Article

Re: Implement New Load Balancing Algorithm

Well without knowing what exactly you want to do we can't advice if, or how, it can be done :)

View Article

modsecurity and compile nginz debian failed

First, thanks for the help.Is there any way to install Mod Security on Nginx (no apache) on a debian?I tried 1000 manuals and I can not find the key.Thank You !!!Right now I have installed nginx 1.2.1...

View Article


Need a 410 Gone for some old url´s

I have some old category what I don´t need on the the new project.So I want to send a 410 Gone to all acceess an files in the following...

View Article

Re: Need a 410 Gone for some old url´s

location /hundevideos/ { return 410; }

View Article


Re: Need a 410 Gone for some old url´s

Thanks. So /hundevideos/ is not a real directory on the server. The url iswww.my-domain.de/hundevideos/blabla.htmlorwww.my-domain.de/hundevideos/dingdong/onetwo.htmlCan I use the command anyway?

View Article

Re: Need a 410 Gone for some old url´s

Its a location block, so whatever the folder name is, thats what you use.It should work for any request in that folder and subfolders.

View Article


Re: Need a 410 Gone for some old url´s

thank you :)

View Article

Website lag

Good Evening,I latencies on my server Nginx Web, pages are very slow to charge either PhpMyAdmin the site itself, another CMS, or anything else ...Here are the current configurations of...

View Article

Re: Website lag

Up

View Article
Browsing all 4759 articles
Browse latest View live


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