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

Re: nginx reverse proxy webdav passthrough

That might very well be the case, if for some reason a http link is rewritten to https (or the other way around) due to a deep link existing in one resource but not the other you can 'create' these...

View Article


Re: nginx reverse proxy webdav passthrough

i am hoping webdav can be opened wide open on the nginx server and pass everything to the iis server, and the iis server can handle everything.

View Article


Re: nginx config question, rules?

itpp2012 Wrote:-------------------------------------------------------> map $http_cookie $checkCookie {> default 0;> ~$SHA1 1;> }>> Then inside a location block:>> if...

View Article

Re: nginx config question, rules?

With map it depends what your testing for and when a test is positive what you want to be in the mapped variable, for example;map $http_user_agent $mobile {default 0;"~Opera Mini" 1;}If the...

View Article

Re: nginx config question, rules?

itpp2012 Wrote:-------------------------------------------------------> With map it depends what your testing for and when a test is positive> what you want to be in the mapped variable, for...

View Article


Re: nginx config question, rules?

why wouldnt this workset_sha1 $SHA1Cookie test;set $TEST33 TechPulse_Firewall=$SHA1Cookie;if ($http_cookie ~ $TEST33) {set $l7_protect 1;}

View Article

Re: nginx config question, rules?

or evenset $l7_protect 0;set_sha1 $SHA1Cookie test;set $COCK TechPulse_Firewall=;set $DICK $COCK$SHA1Cookie;if ($whiteListedIP = "true") {set $l7_protect 1;}if ($request_uri ~* "lite-api.php") {set...

View Article

Phalcon 2 + php-fpm and nginx

I have Phalcon 2 + php-fpm and nginx, for some reason i cannot make the Phalcon routing ( controller / view ) work.I always get "file not found", did anyone encounter this kind of problem?

View Article


Is it possible to register events with nginx's event loop?

I want a web server based on nginx, which receives a HTTP message, parses it and checks in Redis for a given key's value and send back a response, all this has to be done asynchronously / non-blocking...

View Article


proxy_pass help

Hi Guy's.My current config currently looks up id's from a flat file, takes that id number and then passes traffic to the relevant cluster of servers based on that id number.Specifics of my config...

View Article

Re: proxy_pass help

There is one issue here, a file read is only read at startup, any changes won't be passed until a restart.Second, using such variable stuff is best done with Lua,...

View Article

Re: proxy_pass help

Thanks.Looking at the DB would be great as this information is currently stored there now. Caching would be great too incase the DB is down for some reason but is there a way to 'force' a refresh if...

View Article

Re: proxy_pass help

atqtjay Wrote:----------------------------------------------------> some reason but is there a way to 'force' a refresh if any of the ID's> change for some reason?You could make a location block...

View Article


Re: nginx config question, rules?

bum bump

View Article

Upgrade to 1.8.0 - Now virtual hosts don't work

Hi,So I've upgraded from 1.6.3 to 1.8.0, and none of my virtual hosts on my localhost are working. I am getting a 403 forbidden error on localhost/phpmyadmin - i've tried setting the folder with...

View Article


Wildcard subdomains pointing each one to a folder with the same name as...

Hello, nowadays I add a block for each subdomain like this:server {server_name instigado.hifolio.com;root /home/hifolio/public_html/instigado;include miolo.conf;}server {server_name...

View Article

Re: Wildcard subdomains pointing each one to a folder with the same name as...

Maybe this helps: http://forum.nginx.org/read.php?2,258792

View Article


nginx not updating TLS? How to update TLS correctly

I have a server using Ubuntu 12.04.3 LTS and I have a Rails application with Unicorn running as my application server and nginx as my http server. I have my nginx conf located in /etc/nginx as...

View Article

Re: Wildcard subdomains pointing each one to a folder with the same name as...

In fact it doesn't. thank you anywaywhat I'm looking for is some help with a named regular expression, something like this but able to work with my particular example. Thank youA named regular...

View Article

Access to the requested URI has been blocked by the URL Firewall

We are using Nginx as a reverse proxy for an Oracle Enterprise Linux webserver. Everything is working great however we attempted to add a page with a video and we got the following error:Access to the...

View Article
Browsing all 4759 articles
Browse latest View live


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