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

Re: simple Nginx config not working

Can you post the error.log or paste the image elsewhere, the forums attachments don't work very well.

View Article


Re: simple Nginx config not working

surehttp://i.imgur.com/BORWW0F.jpgit seems like a strange error, saying address is already in use. The server block tells nginx to listen to that port,sudo netstat -tapen | grep ":8005/6/7 " tells me...

View Article


Re: simple Nginx config not working

If the port is in use then its in use... nothing much nginx can do about that.You need to find out who's using that port or why it's blocked from being used.netstat -aln | grep portnumberIt might also...

View Article

Re: simple Nginx config not working

the results of - netstat -tapen | grep ":800x"http://i.imgur.com/yCWyiEa.pngresults of - lsof -i :80 (port 80 being the port the live application is listening on)http://i.imgur.com/f6WbR7y.pngdoes...

View Article

Re: simple Nginx config not working

please disregard the stuff i mentioned about the two domains being accessed from the one port, i was wrong, turns out setting my simple block to listen on :80 just overrides the other one!

View Article


Re: simple Nginx config not working

jonathan888 Wrote:-------------------------------------------------------> so what i gather is that many domains can be served through the one> port? IYes, http = port 80, you still need to...

View Article

nginx config question, rules?

This works:add_header Set-Cookie "EXAMPLE=$SHAIP;Path=/";This does not work:if ($http_cookie ~ "EXAMPLE=$SHAIP") {Why this? How can I get it to work? I want $SHAIP to be checked if exist, basically it...

View Article

Re: Securing WordPress with NginX Behind AWS ELB?

Hi,We have six Wordpress site running on ngnix. We are facing Wordpress Admin Css Distorted problem due load-scripts.php is not loading from last 5 Months.We have tried some solutions but nothing to...

View Article


Re: wordpress in subdirectory vbulletin in root

Hi,We have six Wordpress site running on ngnix. We are facing Wordpress Admin Css Distorted problem due load-scripts.php is not loading from last 5 Months.We have tried some solutions but nothing to...

View Article


Re: nginx config question, rules?

if ($http_cookie ~ "EXAMPLE=$SHAIP") {this is the issue, i cant use variable after = or so, how would i do this?

View Article

Re: nginx config question, rules?

Something with map,http://serverfault.com/questions/268633/controlling-nginx-proxy-target-using-a-cookie

View Article

Re: nginx config question, rules?

itpp2012 Wrote:-------------------------------------------------------> Something with map,>> http://serverfault.com/questions/268633/controlling-nginx-proxy-target> -using-a-cookieI don't...

View Article

Re: nginx config question, rules?

Read that page, its more or less the same issue which should be solved with a map block, then use a single IF inside a location block.

View Article


Re: nginx config question, rules?

itpp2012 Wrote:-------------------------------------------------------> Read that page, its more or less the same issue which should be solved> with a map block, then use a single IF inside a...

View Article

Re: nginx config question, rules?

Did you enclosed them with "" (double quotes) ?

View Article


Re: nginx config question, rules?

map $http_cookie $checkCookie {default false;$SHA1 true;}tried this, not sure how to do it properly with the cookies.

View Article

nginx reverse proxy webdav passthrough

I have an iis webserver (on the same network as an nginx webserver server) that has both an https website on it and handles my webdav. I have managed to use a reverse proxy on the nginx server to get...

View Article


Re: nginx config question, rules?

map $http_cookie $checkCookie {default 0;~$SHA1 1;}Then inside a location block:if ($checkCookie) { return 403; } # or whatever you want to happen instead of a 403If you want to allow things when $SHA1...

View Article

Re: nginx reverse proxy webdav passthrough

Maybe this helps:http://exist.2174344.n4.nabble.com/Large-WebDAV-put-fails-when-done-through-nginx-proxy-td3574374.htmlhttp://www.agoragames.com/blog/2009/03/

View Article

Re: nginx reverse proxy webdav passthrough

Thank you for your links. Not exactly what I was looking for though. I think I am just looking for some code to put in my configuration file that passes through everything that has to do with webdav...

View Article
Browsing all 4759 articles
Browse latest View live


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