On 19/02/13 23:13, leejaycoke wrote: > I'm sorry for my English... > > nginx has default html page it's /usr/share/nginx/html. > But I changed custom new path it's /home/norrent/public_html. > did you restart nginx to enable the new config? _______________________________________________ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginxby GreenGecko - Nginx Mailing List - English
On Mon, 2013-02-18 at 14:00 +0200, Pekka.Panula@sofor.fi wrote: > Hi > > I have a site where i want to geo block all but one country, but > perhaps allow Google to index site, perhaps some other index bot too. > > So what sort of configuration is needed so i can detect Google bot and > let it pass-thru? Would be nice if there is example configuration. Is > only good wayby GreenGecko - Nginx Mailing List - English
On Sun, 2013-02-17 at 17:09 -0500, mottwsc wrote: > Thanks for catching that type, GreenGecko. > > I was able to get nginx installed, but at this point it won't start (bind, > that is). > > Is this problem familiar to anyone? > > >>> the end of the installation... > Installed: > nginx.x86_64 0:1.2.7-1.el6.ngx > > Complete! > > >>> trby GreenGecko - Nginx Mailing List - English
Sent from my iPad On 18/02/2013, at 2:42 AM, "mottwsc" <nginx-forum@nginx.us> wrote: > Thanks for the suggestion, Steve. I was working from that angle before > based on advice from a person at my hosting company and had used the nginx > repo. I am addressing three points in response. Any suggestions/thoughts > from you and/or others are appreciated. > > (1)by GreenGecko - Nginx Mailing List - English
On Sat, 2013-02-16 at 17:27 -0500, mottwsc wrote: > I have set up a virtual server with a LAMP stack (Centos 6.3) and am now > trying to install nginx to use as a proxy server. I have been told to > download from sudo rpm -Uvh > http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm and > have done so prior to trying to install nginx. However, something was wrongby GreenGecko - Nginx Mailing List - English
I'd take a look at using pattern matching in a map ( http://wiki.nginx.org/HttpMapModule ) and redirecting if the default value isn't found? Maybe not the most effective, but simpler to maintain... Steve On Thu, 2013-02-14 at 17:05 -0500, etrader wrote: > I want to rewrite subdomains by adding a separate server for subdomains as > > > server { > server_name domain.com > ... &by GreenGecko - Nginx Mailing List - English
On 03/02/13 16:27, jdiana wrote: > Hey all, > > I'm a little stumped about what I'm doing wrong here. Basically I have a > subdirectory that I want to restrict access to specific IP's, otherwise > return a 403. > > If I do the following (inside my server {} block): > > server { > // normal processing code here > ... > > location ~by GreenGecko - Nginx Mailing List - English
It's very unlikely that nginx is causing a high load average. If I separate it off from the php/database processing, I can run it on a low power, single threaded vps with 128MB memory. What process is really using your CPU? Steve On Tue, 2013-01-29 at 17:09 -0500, iLinux85 wrote: > hello > > i have server running as shared server Intel(R) Xeon(R) CPU E3-1225 V2 @ > 3.20GHz 4 core aby GreenGecko - Nginx Mailing List - English
On Tue, 2013-01-22 at 21:59 -0500, middleforkgis wrote: > http://nginx.org/download/nginx-1.2.6.tar.gz > > ./configure > ./make > ./make install > > /usr/local/sbin/nginx -c /etc/nginx/nginx.conf > > netstat -pant |grep nginx > tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN > 16609/nginx.conf > tcp 0 0 66.113.100.by GreenGecko - Nginx Mailing List - English
Your site is using the default server block in conf.d. There is a hierarchy in the listen format, looks like the default is above listen 80; simplest way is to either remove the default, or name your site. On 15/01/2013, at 6:46 AM, Olivier Morel <oliviermo75@gmail.com> wrote: > > hy > when i try to go to my website in local like http://mediawiki.dedibox.fr/ , i get the messageby GreenGecko - Nginx Mailing List - English
On 13/01/13 19:17, Daniel L. Miller wrote: > On 1/12/2013 9:52 PM, Daniel L. Miller wrote: >> I don't know if this actually IS poor performance - it just feels >> like it. >> >> I'm running nginx and php-fpm on a VirtualBox virtual server. No >> other services are running (other than the standard Ubuntu Precise >> minor items for a server). The VM has fouby GreenGecko - Nginx Mailing List - English
On 12/01/2013, at 6:49 AM, "Daniel L. Miller" <dmiller@amfes.com> wrote: > On 1/10/2013 3:49 PM, Steve Holdoway wrote: >> You don't say what the problem is, but if it's performance, look at: >> >> 1. Host database config >> 2. PHP config - memory use >> 3. Add an opcode cacher - APC seems to work best on php-fpm >> 4. Nginx config - compressby GreenGecko - Nginx Mailing List - English
On 11/01/13 22:04, Jan-Philip Gehrcke wrote: >> On 1/10/2013 3:49 PM, Steve Holdoway wrote: >>> You don't say what the problem is, but if it's performance, look at: >>> >>> 1. Host database config >>> 2. PHP config - memory use >>> 3. Add an opcode cacher - APC seems to work best on php-fpm >>> 4. Nginx config - compression, expiry headerby GreenGecko - Nginx Mailing List - English
On 11/01/13 21:07, peter@donka.hu wrote: > Hi Guys! > > I have an nginx server with multiple virtual hosted site. Every site > running with unique user permission using PHP-FPM. > Its all fine, i see the user variable in the phpinfo page and i see the > right username. > > However i have a little problem. > Here an example what is have then i write what is the problem. &by GreenGecko - Nginx Mailing List - English
On Thu, 2013-01-10 at 15:40 -0800, Daniel L. Miller wrote: > Dunno if anyone's running anything similar. I recently shifted to Nginx > from Cherokee - and in so doing I setup a virtual server using > VirtualBox to run it in. My primary use is for serving a pair of > Wordpress sites. > > This is not (currently) a high-traffic server - but I do want it to run > well regarby GreenGecko - Nginx Mailing List - English
On Tue, 2013-01-08 at 22:56 +0100, Patrick Lists wrote: > On 01/08/2013 10:44 PM, Steve Holdoway wrote: > > In my experience, that's usually caused by access to parent dirs... > > ie /home is made unreadable by nginx user when changed to 750 root:root.. > > Gold star for you Steve :-) It works fine now. I guess that's what you > get for staring at configs for way too longby GreenGecko - Nginx Mailing List - English
In my experience, that's usually caused by access to parent dirs... ie /home is made unreadable by nginx user when changed to 750 root:root. Cheers, Steve On Tue, 2013-01-08 at 22:39 +0100, Patrick Lists wrote: > On 01/08/2013 09:09 PM, Francis Daly wrote: > > > Set "root" correctly in the nginx config. (Which is more or less the > > same as "set the directoryby GreenGecko - Nginx Mailing List - English
At first glance I can't see anything listening on port 443. Cheers, Steve On 09/01/13 08:08, Patrick Lists wrote: > Hi all, > > I'm new to nginx and trying to setup a piwik virtual hosts on an > up-to-date CentOS 6.3 box with nginx 1.2.6, php-5.3.3 with php-fpm src > from the 5.3.20 release. I'm seeing some "Primary script unknown" > errors which I can't figure outby GreenGecko - Nginx Mailing List - English
Why not just use a symbolic link? Steve On 03/01/13 20:31, PascalTurbo wrote: > Hi There > > I need to get this working on nginx with php-fpm: > > example.com/studip/dispatch.php/admin/user/ > > The Problem seems to be, that /studip isn't a subfolder under root but a > alias to /usr/local/studip/public/ > > Here's the configuration without the (non working) path_infby GreenGecko - Nginx Mailing List - English
Multiple listen statements On 20/12/2012, at 7:25 AM, "hristoc" <nginx-forum@nginx.us> wrote: > Any one ? > > Posted at Nginx Forum: http://forum.nginx.org/read.php?2,233246,234206#msg-234206 > > _______________________________________________ > nginx mailing list > nginx@nginx.org > http://mailman.nginx.org/mailman/listinfo/nginx _____________________by GreenGecko - Nginx Mailing List - English
On Mon, 2012-12-10 at 09:51 +1300, Steve Holdoway wrote: > On Sun, 2012-12-09 at 10:29 +0000, Francis Daly wrote: > > With the assumptions and changes from above, maybe > > > > location = / { > > fastcgi_pass unix:php.sock; > > include fastcgi_params; > > fastcgi_param SCRIPT_FILENAME $document_root$page_redirect; > > } > > >by GreenGecko - Nginx Mailing List - English
On Sun, 2012-12-09 at 10:29 +0000, Francis Daly wrote: > > Given your above configuration, am I right that what you want is: > > http://www.example.com/ -> php-process /usr/local/nginx/html/index.php > http://www.example.com/index.php -> php-process /usr/local/nginx/html/index.php > http://www.example.com/file.png -> send /usr/local/nginx/html/file.png > http://wwwby GreenGecko - Nginx Mailing List - English
I've got a WP site that also provides landing pages for a number of other sites. I've set it up as the default server config for that IP, and that's working fine. However, the requirement I've got is to go to a specific landing page dependant on domain name. This is how I've gone about it ( as there are a lot of pages... map $http_host $page_redirect { hostnames; default notset; ..example1.comby GreenGecko - Nginx Mailing List - English
I take it that nginx -t validates the cert/key pair OK, and that you've *appended* the necessary intermediate certs onto the end of the original mydomain.pem? What's the domain as shown by... openssl x509 -in mydomain.pem -text -noout ( that's your original cert, not the one with the intermediate certs added ) EDIT: Actually those instructions are (maybe) out of date. If you want to sharby GreenGecko - How to...
Here's how i do it... connecting to php-fpm backends. upstream backend { ip_hash; server unix:/var/run/php5-fpm.sock; server 192.168.101.1:9000; server 192.168.101.2:9000 down; keepalive 8; } The addition of the down keyword ensures that sessions that can be honoured will still go to the valid servers. I expect there will be something simiby GreenGecko - How to...
I've got a WP site that also provides landing pages for a number of other sites. I've set it up as the default server config for that IP, and that's working fine. However, the requirement I've got is to go to a specific landing page dependant on domain name. This is how I've gone about it ( as there are a lot of pages... map $http_host $page_redirect { hostnames; defaultby GreenGecko - How to...
In order to get cloudfront to deliver gzipped content I've had to change from gzip_http_version 1.1 to 1.0, and manually add_header Vary Accept-Encoding to the relevant sites. What I'm wondering is how this will affect the sites involved - is gzip_http_version 1.1 faster / slower than 1.0, or are there any other hidden gotchas?? Cheers, Steveby GreenGecko - Nginx Mailing List - English