Why do you say that? Is the current one that I have very bad?I can see that the logic is there, I am separating each vhost by location just as you suggested... Date: Fri, 4 Mar 2011 10:05:07 -0500 From: david@styleflare.com To: nginx@nginx.org Subject: Re: virtual host in one ip address I think you should start from scratch using a very simple config.by equinox - Nginx Mailing List - English
Yea, sorry that was the old config file.. Here's the new one... which still fails: user www-data;worker_processes 4; error_log /var/log/nginx/error.log;pid /var/run/nginx.pid; events { worker_connections 1024; # multi_accept on;} http { include /etc/nginx/mime.types; access_log /var/log/nginx/access.log; sendfile on; #tcp_nopush on; #keepalive_tiby equinox - Nginx Mailing List - English
So here's what I have, all I can do at this point is navigate to xxx.xxx.xxx.xxx but not to xxx.xxx.xxx.xxx/phpmyadmin: user www-data;worker_processes 4; error_log /var/log/nginx/error.log;pid /var/run/nginx.pid; events { worker_connections 1024; # multi_accept on;} http { include /etc/nginx/mime.types; access_log /var/log/nginx/access.log; sendfile on;by equinox - Nginx Mailing List - English
So I am confused as which one should I actually edit... there is a nginx.conf and there is a default in the sites-enabled folder.. Date: Fri, 4 Mar 2011 09:34:00 +0100 From: pascal.nitsche@fansubcode.org To: nginx@nginx.org Subject: Re: virtual host in one ip address Hello, what does noit work exactly. As I can see there may be a fastcgi_pass missing to hby equinox - Nginx Mailing List - English
It just doesn't work, here's my .conf: user www-data;worker_processes 4; error_log /var/log/nginx/error.log;pid /var/run/nginx.pid; events { worker_connections 1024; # multi_accept on;} http { include /etc/nginx/mime.types; server { location /phpmyadmin/ { root /usr/share/phpmyadmin; } location /apiadmin/ { root /vby equinox - Nginx Mailing List - English
configure arguments: --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --pid-path=/var/run/nginx.pid --lock-path=/var/lock/nginx.lock --http-log-path=/var/log/nginx/access.log --http-client-body-temp-path=/var/lib/nginx/body --http-proxy-temp-path=/var/lib/nginx/proxy --http-fastcgi-temp-path=/var/lib/nginx/fastcgi --with-debug --with-http_stub_status_module --with-http_fby equinox - Nginx Mailing List - English
Where is this config file that I need to edit? From: igor@sysoev.ru Date: Fri, 4 Mar 2011 09:15:26 +0300 To: nginx@nginx.org Subject: Re: virtual host in one ip address On Mar 4, 2011, at 9:10 , Alex H wrote:Is this on the default of the nginx.conf? I do not know what do you mean by default. The whole configuration is like http { server { location /v_host1/ { } locby equinox - Nginx Mailing List - English
Is this on the default of the nginx.conf? From: igor@sysoev.ru Date: Fri, 4 Mar 2011 09:01:33 +0300 To: nginx@nginx.org Subject: Re: virtual host in one ip address On Mar 4, 2011, at 7:22 , Alex H wrote:I have a rackspace server running with nginx. I am a newbie to all the server stuff. Let me explain the situation here:I have an IP address and I have two virtual host on my machine.I don'tby equinox - Nginx Mailing List - English
I have a rackspace server running with nginx. I am a newbie to all the server stuff. Let me explain the situation here:I have an IP address and I have two virtual host on my machine.I don't have a domain and I don't want to buy oneI want to map it so I can access the website as xxx.xxx.xxx.xxx/v_host1 and xxx.xxx.xxx.xxx/v_host2How can I do this the easy way? I am guessing I should change the nginby equinox - Nginx Mailing List - English
So I have a info.php page which is located on the folder /var/www/nginx-default, however when I go to my ip address/info.php, it always redirects me to this site:http://www.iana.org/domains/example/is this because I have a virtual host that I called example? Here is my config for the example website: server { listen 80; server_name www.example.com; rewrite ^/(.*) http://example.cby equinox - Nginx Mailing List - English
I was following the tutorial here. It says This will create the virtual host file for Nginx in the sites-available directory. Simply paste the following into the file and change each instance of “example.com” to your site’s domain name: server { listen 80; server_name www.example.com; rewrite ^/(.*) http://example.com/$1 permanent; } server { listen 80; seby equinox - Nginx Mailing List - English
Does anyone know any good LNMP installer that install everything up to date with the current version? PHP 5.3, Nginx 0.8, etc..etc _______________________________________________ nginx mailing list nginx@nginx.org http://nginx.org/mailman/listinfo/nginxby equinox - Nginx Mailing List - English
I am getting the following error log: PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/lib/php/session) in Unknown on line 0" while reading upstream, client: 70.176.18.156, server: localhost, request: "POST /phpMyAdmin/setup/index.php?page=form&formset=main_frame HTTP/1.1", upstream: "fby equinox - Nginx Mailing List - English
Is it also possible to change my php directive to: location ~ \.php$ { root html; fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME html$fastcgi_script_name; include fastcgi_params; } ?? Will it do the same? > Date: Sun, 27 Feb 2011 12:50:35 +0000 > From: francis@daoine.oby equinox - Nginx Mailing List - English
sorry, but no.. I tried again and it still failed....it's the caching that makes it like it works From: aditya15417@hotmail.com To: nginx@nginx.org Date: Sun, 27 Feb 2011 07:23:30 +0000 Subject: RE: nginx can't read images thanks it works now...can you explain what's going on > To: nginx@nginx.org > From: iptablez@yahoo.com > Date: Sun, 27 Feb 2011 07:12:27 +0000 > Subby equinox - Nginx Mailing List - English
thanks it works now...can you explain what's going on > To: nginx@nginx.org > From: iptablez@yahoo.com > Date: Sun, 27 Feb 2011 07:12:27 +0000 > Subject: Re: nginx can't read images > > Above server_name localhost; > > + root html; > > > -----Original Message----- > From: Aditya Herlambang <aditya15417@hotmail.com> > Date: Sun, 27 Feb 2011 06:4by equinox - Nginx Mailing List - English
I don't get it...what do you mean? > To: nginx@nginx.org > From: iptablez@yahoo.com > Date: Sun, 27 Feb 2011 07:12:27 +0000 > Subject: Re: nginx can't read images > > Above server_name localhost; > > + root html; > > > -----Original Message----- > From: Aditya Herlambang <aditya15417@hotmail.com> > Date: Sun, 27 Feb 2011 06:44:47 > To: <nby equinox - Nginx Mailing List - English
The folder should have read access... I don't know what you mean by redirecting requests to folder. I just noticed that it can't also read css, js, and png, jpg!! Here's my error log: 011/02/27 05:53:29 18679#0: *225 open() "/usr/local/nginx/html/phpMyAdmin/js/mooRainbow/mooRainbow.css" failed (2: No such file or directory), client: 70.176.18.156, server: localhost, request: "GET /by equinox - Nginx Mailing List - English
Hi, So it seems that mginx can't read a url with .png, for example http://20.16.31.42/phpMyAdmin/themes/original/img/logo_right.png that gives me a page not found. The ip address above has been changed (not the original one), it'sjust to give illustration. I checked that the file logo_right.png is in fact in that folder. What do I need to do to solve this? ____________________________by equinox - Nginx Mailing List - English
I was following the tutorial here: http://articles.slicehost.com/2009/2/2/centos-installing-nginx-from-source and I tried to stop nginx by executing: sudo nginx stop at the directory and it says: invalid option "stop" why is it not recognizing the option?? _______________________________________________ nginx mailing list nginx@nginx.org http://nginx.org/mailman/listinfo/nginxby equinox - Nginx Mailing List - English
I just want to know whether it's normal to have a few not found as a response when running the ./configure. When I run make, it gives me 2 warnings: objs/src/os/unix/ngx_process.o: In function `ngx_process_get_status':/root/sources/nginx-0.8.54/src/os/unix/ngx_process.c:490: warning: `sys_errlist' is deprecated; use `strerror' or `strerror_r' instead/root/sources/nginx-0.8.54/src/os/unix/ngx_proceby equinox - Nginx Mailing List - English
Hi everyone, I am getting the following error when installing nginx after the configure, it seems that it's missing some directive. When I do a make it gives me these two warnings: objs/src/os/unix/ngx_process.o: In function `ngx_process_get_status': /root/sources/nginx-0.8.54/src/os/unix/ngx_process.c:490: warning: `sys_errlist' is deprecated; use `strerror' or `strerror_r' instead /root/by equinox - Nginx Mailing List - English
Hi everyone, I am getting the following error when installing nginx after the configure, it seems that it's missing some directive. What should I do? checking for OS + Linux 2.6.35.4-rscloud x86_64checking for C compiler ... found + using GNU C compiler + gcc version: 4.1.2 20080704 (Red Hat 4.1.2-48)checking for gcc -pipe switch ... foundchecking for gcc builtin atomic operations ... foundcheckinby equinox - Nginx Mailing List - English