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

Create a full proxy?

Hi allI am trying to proxy a image hosting website. abc.tldThey have CDNs a.cdn.tld b.cdn.tld etcHow how I create a full proxy with caching like this?I also need to change the url from abc.tld to...

View Article


Wordpress Hide wp-admin

I would like to redirect mysite.com/wp-admin to my index and have people access the WP-Admin though something like mysite.com/admin.I did this in apache but after switching to nginx I don't know how to...

View Article


Do not cache based on URL pattern

I'm using nginx as a reverse proxy for multiple environments hosted on the same IIS server. I'd like to use the same caching settings for all environments except development, which nothing should be...

View Article

Re: Do not cache based on URL pattern

Have a look how map is used in 'nginx-simple-WAF.conf' in the /conf folder from package in my sig.Map is your friend here.

View Article

Redirect to internal IP without proxy_pass

Is it possible to proxy an internal IP without using proxy_pass? Sort of rewrite or redirect but within the LAN. I need it because nginx takes a lot of CPU power when using proxy_pass, like it's...

View Article


limit_conn value

Hello,I need to change the limit_conn value based on the device type (need to have 2 different values)Any ideas how i can do that?Thanks

View Article

auth_basic_module Nginx

I install nginx via yum install nginx.Over time I need http authorization. I check nginx -V but I not see the ngx_http_auth_basic_module.Some peoples say (It is standart module and this does not...

View Article

Re: Protect folder from running php and html

Anyone please?

View Article


Pseudo-Reverse-Proxy

Hi, I'd like to reach my regular http-site additionally over a https-reverse-proxy-nginx-setup over another domain. If a visitor visits "https://proxy.com" he actually sees "http://mysite.com", the...

View Article


upstream sent invalid status "40" while reading response header from upstream

HiWhen i try to use this link on my forum:http://www.domain.com/index.php?app=members&module=messaging&section=send&do=formI am getting 502 bad gateway error but only for this link as all...

View Article

Looking for some advice on my current vhost config

I'm setting up an SSL-only WordPress site and have got my config working. However, some of the tutorials/docs I've read seem to contradict each-other -- and most are a few years old by now.So I've put...

View Article

Server blocks order

Greetings everyone. I've made some research on this matter, but couldn't find anything specific, though the question may seem trivial.According to the documentation, Nginx routes incoming request to...

View Article

fast update nginx

hi there!help me please.how can i fast update nginx from rpm package?what methods do you use to update?thanks all.

View Article


Setup Nginx Proxy with multiple IP address

Hi,I want to setup Nginx Proxy on my server with apache as backend server.Itrs working fine with Single IP address.I want to setup Nginx Proxy with multiple IP address.Can some one please help me i...

View Article

Re: Setup Nginx Proxy with multiple IP address

There's no special need to do anything other then point other external IP's to the IP where nginx is running, you may have to add routing back to the extra IP's if they are on a subnet not already routed.

View Article


Re: Setup Nginx Proxy with multiple IP address

I have multi IP Address server.I want to setups two differnet domain on two diiferent IP address on single server.

View Article

Nginx load balacing mono backend servers

guys i have tree web services running mono for asp.nethttp://1.1.1.1:6789/Service.asmxhttp://1.1.1.2:6789/Service.asmxhttp://1.1.1.3:6789/Service.asmxand i have this on my nginx web serversupstream...

View Article


Using $status in location

Hii would like to execute some lua code (very simple script) only on status code 200But the internal value of nginx $status variable is always 000location / {root /usr/local/nginx-streaming/html;set...

View Article

Re: Using $status in location

rewrite_by_lua '..........if v>0 then return ngx.exit(513); end;';

View Article

URL ending in "ico" = 404

Hello!I have a website in wordpress and is going on a problem that can not understand what's wrong. It is in http://www.domain.com.br/blogs/olho-critico link gives error 404. Not through the wordpress,...

View Article
Browsing all 4759 articles
Browse latest View live