Re: GetSimple CMS with NGINX
Sleeping a night probably helped a bit.. I think I found the solution...my mistake was using parts of the configuration blocks from archlinux.org-nginx-wiki (the include php.conf-line with the...
View ArticleRe: How to configure nginx for fastCGI (not php)
You might need proxy_pass, fastcgi requires a script to be passed.
View ArticleRe: How to configure nginx for fastCGI (not php)
itpp2012 Wrote:-------------------------------------------------------> You might need proxy_pass, fastcgi requires a script to be passed.Hi itpp2012,I am a total newbie.Could you elaborate a bit...
View ArticleRe: How to configure nginx for fastCGI (not php)
Read the docs a bit;http://nginx.org/en/docs/http/ngx_http_proxy_module.html
View ArticleRewrite location and then proxy_pass
I'm having some difficulties rewriting a location to https, then asking if a specific cookie or IP is matched and then pass it to a http backend. For example, I need the /api location rewritten to...
View ArticleRe: Rewrite location and then proxy_pass
Sorry,this was a stupid question. Of course I need to redirect first to the SSL part and then check for the cookie or IP:HTTP part:location ^~ /api {rewrite https://$http_host$request_uri; (rewrite the...
View ArticleCan nginx route to oneself using different domains?
Hello,I'm trying to do A/B testing with nginx, and let's say I have one nginx instance on a host having three different domains, nginx-a, nginx-b, and nginx-c.- /etc/hosts---192.168.50.10 nginx-a...
View ArticleHelp with rewrite(loop error)
Hello my dear friendsI have some problem with rewrite.I have example.comI need 301 redirect:example.com/index -> example.comexample.com/index.html -> example.comexample.com/about.hrml ->...
View ArticleWeb page degraded when root path is changed
Hi,I'm setting a wordpress up with nginx.Everything's seems ok :- server is up- phpinfo() test is ok- the worpress install routine is showing upThe only trouble is the root statement in the web server...
View ArticleInternal server error Using Joomla
Hello, I'm setting up a joomla website using nginx 1.2.1-2.2 on Raspbian wheezy. The homepage is displayed properly. But if I add another site (called "collection") and click on the menue button I got...
View Articleanonymous GET all others to be authentificated
Hi Guys I am stuck with an issue here, I have a web page that I need to allow anonymous views but not post/put/etc.Is that posible with nginx ? could this be a webdav thing?Currently I have this...
View ArticleHow to rewrite
Hello AllI want to rewrite my url.ex:alias /home/webhttps://abc.com/xxx/version/yyy.html?lang=zzz --> /home/web/version/zzz_yyy.htmlhow to do it ??
View ArticleHow to add a addtional .conf to nginx.conf
Hi guys,I want to add a file call blacklist.conf into nginx.conf to block bad bot, how can I do it ? The blacklist.conf:## Add here all user agents that are to be blocked.map $http_user_agent $bad_bot...
View ArticleRe: How to add a addtional .conf to nginx.conf
So the other file.config will be locate in the same folder as nginx.conf, is that right? or I can place anyelse where?
View Articledisable ipv6 bug
I have set up an SSL reverse proxy and found the net.ipv6.conf.all.disable_ipv6 bug (http://trac.nginx.org/nginx/ticket/552) is still biting us in v1.6.2. (I have installed Nginx through yum on...
View ArticleChange the auth screen
Hi all,I am really new to nginx, so excuse my question (as stupid/simple as it may be).Is there a way to customize the auth screen from the ngx_http_auth_request_module? Eg. have your own logo, change...
View ArticleRe: How to add a addtional .conf to nginx.conf
Yes, when no path is used it defaults to where nginx.conf is, and you can use a path as well.
View Article