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

Tricky Nginx Caching Case - Download Server - Huge Traffic

Hiwe have a large file hosting website and the site is growing everyday and normal disks can't serve our users anymore so we bought some SSD disks and added to our servers hoping we can use the nginx...

View Article


Re: Best practice question

Anyone?

View Article


Re: Best practice question

You could use nginx include sites-enabled but a config mistake will prevent nginx from reloading, a pre-parsing system also to validate security would be better. Allowing users to change configs is in...

View Article

Nginx 1.21 > 1.6 White page with php5-fpm

Hi all,i have problem with Nginx and PHP5-fpm, if i configure Nginx 1.2.1 everything is fine, but if i upgrade to 1.6 i have only blank page. Cany anyone say why?Socket is created fine.Html pages...

View Article

Re: Nginx 1.21 > 1.6 White page with php5-fpm

/etc/nginx/fastcgi_paramsfastcgi_param QUERY_STRING $query_string;fastcgi_param REQUEST_METHOD $request_method;fastcgi_param CONTENT_TYPE $content_type;fastcgi_param CONTENT_LENGTH...

View Article


NGINX with Mac OS conf file

Can anyone help please ?I installed NGINX on mac os mavericks with passenger but when I try to stop/start nginx I get the following error:Gabriels-Mac:gems gabrielmadeira$ sudo nginx -s stopnginx:...

View Article

Rewite .php to end of script name failing

I want to add '.php' to the end of script that has it missing but the rewrite is failing. Not sure what is going wrong.server{if ( $request_uri ~* ^/announce\? ){rewrite ^/announce(.*)$ /announce.php$1...

View Article

Re: Rewite .php to end of script name failing

Working. I had to use flag, 'permanent'.

View Article


Re: change root

I can't change the root path of my nginx.conf file.I have installed nginx on mac os with passenger using home-brew. But its impossible to change the root path of my rails app. Nginx keeps saying:nginx:...

View Article


Re: change root

Use quotes around a path which contains spaces.

View Article

Xpost: Httpd LimitRequestFields variable in NGINX??

Hi experts,I have been asked to update some file size limits for NGINX, however I was only given the httpd/apache setting variables.Please let me know what the equivalent variable is for...

View Article

Re: try_files and static content with query string (token/version)

Hi all...Auto-update. I found this:# http://blog.bripkens.de/2012/03/nginx-cache-busting/server {# ...location ~* ^/static/(\w+)/([^/]+)_\d+\.(js|css|png|jpg|jpeg|gif|ico)$ {alias...

View Article

Re: Best practice question

What if you have a ssh server with couple of users and want to provide web services to all of them (/~username/) directory.They would be able to install CMS's and stuff and possibly want to every now...

View Article


Re: Best practice question

We use a ticket system where such clients/users make requests, the service desk handles the rest, no user is ever allowed such access here.

View Article

How to log all sent set-cookie headers

Giving $sent_http_set_cookie in log_format logs only the first cookie that is set by Set-Cookie. Is there a way to log all the cookies that are sent using Set-Cookie.This is the exact snippet in my...

View Article


How To HTTPS/SSL Redirect/Rewrite Without Cert ?

I've created a new site, and purchased an EV cert for the site (www.mysite.com).The cert is valid for WWW.mysite.com, however I know that several users are trying to get to the site via mysite.com (no...

View Article

Re: How To HTTPS/SSL Redirect/Rewrite Without Cert ?

Nope, get a *.mysite.com certificate.

View Article


Re: Magento Wordpress Nginx Configuration

me too i have the same problem, did you enable caching?maybe you should add this to the server block#cookie handlingproxy_pass_header Set-Cookie;#end cookie handlingsince WP needs cookie handling to...

View Article

Re: First time download is slow

I enabled caching and load time improved, but that leads to other problem, sometimes i have a blank page and i see in the log this error message :*2935 upstream prematurely closed connection while...

View Article

Re: caching

dude i am a newbie, and most messages here have no answers (maybe because nginx is quite new?)i decided not to to use this directive at the moment, i noticed you didn't put the \ before the dot, but...

View Article
Browsing all 4759 articles
Browse latest View live


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