10 Topics
|
|
Hi all, I'm using nginx to host multiple servers on one terminal through virtual hosts. Each one needs to be able to send emails, but I am unsure how to specify which account to use when I call the php mail() function. Should I be specifying in the nginx configs … |
|
Hi all, my understanding was that Nginx doesn't do any caching unless you tell it to. However, for some reason, all my filles are being cached, and so the website doesn't respond to change in css or js files etc. I thought that the below server{} code would help: location … |
|
Hi all, Brand new to nginx, but it seems to be the rising star, and suited to hosting high volumes like I'm doing. However, I'm having trouble setting up the config files. A day of google searching hasn't really helped. My nginx.conf looks like: events { worker_connections 768; # multi_accept … |
|
Hello, how to write url alias in nginx ? I have create the url alias before in apache. But, now the web is moved to nginx. This is the url alias config (using .htaccess) that I have write in apache : RewriteEngine On # Turn on the rewriting engine RewriteBase … |
|
Trying desperately to get CodeIgniter and Nginx to play nice. I was able to get it working once a long time ago and I cannot seem to reproduce what I had. I am trying to follow: http://wiki.nginx.org/Codeigniter However, it works fine where / gives me the default controller/method, and I … |
|
Hi, I'm not sure if I'm posting this in the correct place as this is related to nginx configuration and not specifically PHP scripts. If I am posting this in the wrong section, please let me know and I will post it in the correct location (unless a Mod is … |
|
after pulling my hair out with this one, I'm afraid I'm going to have to turn the knowledge of those much wiser.....again! ok so here's the problem, I am following the following two railscasts: [deploying to a vps](http://railscasts.com/episodes/335-deploying-to-a-vps?autoplay=true) [asset pipeline in production](http://railscasts.com/episodes/341-asset-pipeline-in-production?autoplay=true) My setup: Ubuntu Server 12.04 nginx unicorn ruby … |
|
nginx server Problem to add trailing slash if I have two or more subdirectories rewrite ^/([^.]*[^/])$ $1/ permanent; //this is working example if I have one directory [url]http://example.com/foo/[/url] (with trailing slash, conventionally a directory) [url]http://example.com/foo[/url] (without trailing slash, conventionally a file) How can add trailing slash if I have two … |
|
Hi guys another newbie here want to know and learn about NGINX :) how can i use that in my next project ? Any help would be greatly appreciated Thanks in advance. |
|
Hello, I did a little rewrite rule a little while ago to redirect ppl who directly access my site's image to image pages instead, for example a person accessing [url]www.mysite.com/i/asdf.jpg[/url] to [url]www.mysite.com/pic/asdf[/url] this is the rewrite rule i used : [CODE]location /i/image_(\d+).(gif|jpg|jpeg|png)$ { root /home/mysite/public_html; valid_referers www.mysite.com mysite.com; if ($invalid_referer) … |
The End.