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

Ngninx 1.1.19, SSL certificates, Chaining and custom CA

Hello everyone,I am using nginx 1.1.19 with HTTPS on a debian machine and I'd like to use a chain of certificates.I cannot upgrade nginx to the current stable release ( problably that's my real...

View Article


Re: Ngninx 1.1.19, SSL certificates, Chaining and custom CA

Took me a while but, in the end, I discovered the problem.Simply I wasn't changing the certificate serial number when I was signing them."Bad Certificate" error is a little too generic to understand...

View Article


SEO

Hai my new friendsWhat is the main usage of seo?

View Article

nginx default page configuration

We have nginx setup which is used as a reverse proxy connecting to an apache backend. We are using varnish between them for caching. We need to set a default landing page if only domain name is given....

View Article

Re: nginx default page configuration

Set the 'root' value to where this page lives.

View Article


Multiple (Nested) Codeigniter apps not working in NGINX

We've setup 2 CodeIgniter apps which has its own complete code bases on its own directories as in this example. Plus we also have wordpress blog on the same public_html...

View Article

disabling gzip if etag exists in proxy_pass response

Hi,I'm new to nginx.Is there a way to disable gzip if proxy_pass reutrns the ETag header.I.E:gzip on;...location /foo/bar {proxy_pass http://server:123;if ($upstream_http_etag) {gzip off;}}Basically...

View Article

Forward proxy preserving the domain

[Cross-posted via the forum from the mailing list - http://forum.nginx.org/read.php?2,251449]Basically, I want to set up a proxy running on example.mydomain.com that will take any URI, retrieve...

View Article


Excluding some URIs from SSL traffic

i would change my nginx config so i could make non-SSL requests over certain URIs. Per example, when i request normal http to [host][certain-uri], avoid redirecting to https.My current...

View Article


Changing configuration paths

Hello, the documentation says "nginx/Windows uses the directory where it has been run as the prefix for relative paths in the configuration."I am writing a program a program that launches nginx....

View Article

Re: Changing configuration paths

Change the configure method.

View Article

Re: Changing configuration paths

Could you please elaborate? How is it done?

View Article

Re: Changing configuration paths

configure is in /auto, move it down a folder (run it from there) and use parameters without a path, this is at compile time though, you can't do much with this at runtime.

View Article


How to make nginx respect http_proxy and https_proxy

Hello ,I am using nginx as a reverse proxy server ,I am running it on an internal organization which users proxy to go to the internet .Explain :When I am connecting from my linux box to google , I am...

View Article

[1.6.0] "service nginx configtest" returns [fail], but why?

Running service nginx configtest on a LEMP-system (ubuntu 12.04 LTS) gives a [fail]. However, i've no clue why .. Is there a way to debug the parameter configtest or is there somewhere al log-file?

View Article


Re: [1.6.0] "service nginx configtest" returns [fail], but why?

It should tell you on the commandline or in the error.log

View Article

the rewrite_log for Nginx

Hello, i have a web site working with Apache and based on mod_rewrite this code to be specific<IfModule mod_rewrite.c>RewriteEngine OnRewriteBase /# Removes index.php from ExpressionEngine...

View Article


Reduce response times

I'm running a VPS with 1GB with Debian 7. Nginx's response time for static HTML files are around 300-500ms, which seems relatively high. These are not spikes, it's the average response time of single...

View Article

Can I use upstreaming based on a URI regex?

Hello,I have an issue with our nginx conf.How can I upstream to different machine clusters based on a URI.I have tried the following within the server block,if ($uri ~ ^/.*oo=oo*/) {upstream //bla}if...

View Article

Re: [1.6.0] "service nginx configtest" returns [fail], but why?

No, the CLI is empty .. :-? Can't figure out why.O wait, i moved the error log to \var\log\nginx. What's in it?And .. found it. I had one 'real' but misconfigured config-file in the...

View Article
Browsing all 4759 articles
Browse latest View live