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

Trouble with PHP

I've got nginx working well with Django sites and static content. Now I'm importing some php utilities. There is a folder accessed as http://paulwhippconsulting.com/atwell/ that contains a mix of php,...

View Article


Re: Custom 400 error for client-certificate-authenticated site

Hi,I have been able to work arround this issue by setting the option "ssl_verify_client" to "optional" instead of "on". After this I used an if statement for checking the variable "$ssl_client_verify"...

View Article


Re: Trouble with PHP

From continued experimentation, the fix was that I'd accidentally missed the slash of the alias statement. It should have been:location /atwell/ {alias /home/paul/atwell/;auth_basic "Please log...

View Article

Disable Cache for static files (css, js, etc.) in the DEV system

Hi,I would like to disable the cache function for static files into the dev system, but I can't find the right parameter or systemfile to change this.I've try to change in the...

View Article

Re: Disable Cache for static files (css, js, etc.) in the DEV system

I found the solution ... the issue was the VirtualBox ... I've to set this parameter sendfile off;Now all works fine ...

View Article


Direct Upload without temp files

Hello,we use Nginx as reverse proxy for several websites. One of your sites provides uploads of huge files (> 2gb).The nginx Server is hosted on a small linux box (without much resources...

View Article

Problem ModSecurity & OpenSSL

Hello,I installed NGINX with:--add-module=../mod_security/nginx/modsecurity --with-http_ssl_module --with-openssl=/xxxIf i start the services i got a lot of this:2014/04/13 21:24:35 [alert] 11297#0:...

View Article

How to clear the cache in a proper way - do I need to reload the server for...

Hello,I have scripts created that clear the cache by deleting all the cache folder or specific files from the cache according to keys. Do I need to reload the server with "killall -HUP nginx" after...

View Article


Nginx 1.4.7 + Prestashop + URL rewriting

Hi,I’m using Nginx 1.4.7 on a Debian server.I’m trying to use url rewriting with Prestashop (shop CMS). They give a conf file for url rewriting. This conf works well with Nginx 1.2.1 but absolutly...

View Article


Compare $http_referer and $host

Hi,Is it possible to compare $http_referer and $host variables with regexp like this?if ( $http_referer ~ $host ) {set $match 1;}I want to check if http_referer is equal to host in order to send pages...

View Article

Issues setting up Fastcgi for Perl

So recently I decided to switch from Apache 2.4 to Nginx, largely for better performance. I also wanted to get a new site going that would be written in Perl and served by FastCGI, as well as support...

View Article

Re: Issues setting up Fastcgi for Perl

Hello,It's been quite awhile since I've used Perl with nginx and t the time I used fcgiwrap - see https://nginx.localdomain.pl/wiki/FcgiWrap.I have a (perhaps dumb) question. Is your Perl script...

View Article

Re: Issues setting up Fastcgi for Perl

I've set the debug level to "info" but there were no entries still.Now, since then I dumped spawn-fcgi and configured fastcgi to operate standalone, according to these...

View Article


Nginx as a forward proxy - denying contents by MIME type

Hi,I'd like to use nginx 1.2.1 as a filtering & caching proxy on my Raspberry Pi. Filtering domain names and URLs is easy but I could not find a way to filter contents by their MIME type.To be a...

View Article

Re: Issues setting up Fastcgi for Perl

Those should be set as fastcgi_params either in the location where your "fastcgi_pass" statement is located, or in an included file.Something like:fastcgi_param DOCUMENT_ROOT...

View Article


Nginx with wordpress refused varnish static content requests

I just added another wordpress site to my ubuntu server. 2 wordpress sites, not multisite.They use 2 different fpm pool with same config. Their Nginx config files are basically identical except the fpm...

View Article

Re: Nginx as a forward proxy - denying contents by MIME type

For those who are looking for a working solution: I could solve this by installing a basic squid server and setting up nginx to simply forward requests to squid.Here's the nginx config I use...

View Article


Re: Nginx as a forward proxy - denying contents by MIME type

Another important point is that squid must be configured as a transparent (intercepting) proxy for this to work properly and the Host header must be forwarded to squid (that's done by including the...

View Article

IP Leaking on Reverse Proxy

Sorry if this is covered somewhere else but for the life of me can't find the answer.. I am running Nginx 1.4.7 as a reverse proxy on Ubuntu 13.04 to an Apache server. I have the / directory reverse...

View Article

Re: IP Leaking on Reverse Proxy

Sorry, version is 1.5.13

View Article
Browsing all 4759 articles
Browse latest View live


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