Hi guys i'm very new to web dev, and getting started with nginx i just
wanted to ask a few things.
Location blocks. Is the idea here to have as many location blocks as
you have web pages? if a location has many files in it will nginx
search if the requested file is in that location? i put a file
On Mon, Dec 09, 2013 at 05:03:55PM +, Matthew Ngaha wrote:
Where does the example come from? It may be worth asking the author to
fix it.
Hi Francis It was from nginx http server
http {
server {
server_name localhost;
root /var/www/website.com/html;
location
On Tue, Dec 10, 2013 at 10:17:25PM +, Matthew Ngaha wrote:
The problem i've been having after looking in the error logs,is that
it's still trying to find /admin/ in the default html root.
That suggests that the configuration you are editing, and the
configuration that nginx is using
I was trying to understand the fastcgi forwarding. The example shows:
server {
server_name .website.com;
listen 80;
root /home/website/www;
index index.html;
location / {
fastcgi_pass 127.0.0.1:9000;
fastcgi_param SCRIPT_FILENAME
Im trying to set up nginx with django. This is the instruction given:
Symlink to this file from /etc/nginx/sites-enabled so nginx can see it:
sudo ln -s ~/path/to/your/mysite/mysite_nginx.conf
/etc/nginx/sites-enabled/
The problem is this folder doesn't exist: /etc/nginx/sites-enabled/
my
Hey, when I run './nginx -s reload' or './nginx -s stop' i get this:
nginx: [error] open() /usr/local/nginx-1.4.3/logs/nginx.pid failed
(2: No such file or directory)
Any ideas why it's trying to open this file that doesn't exist?
___
nginx
I feel really stupid now:( Thanks that fixed it.
On Tue, Aug 26, 2014 at 10:56 PM, kyprizel kypri...@gmail.com wrote:
Try to use 192.168.1.102:443.
On Wed, Aug 27, 2014 at 1:40 AM, Matthew Ngaha chigga...@gmail.com wrote:
I'm trying Nginx with Django on my localhost. I Include