On Mon, Feb 1, 2010 at 2:18 PM, 任晓磊 <julyclyde@gmail.com> wrote: > Thank you. I upgrade the deb package to 0.7.24 with ipv6 option. What > configuration should I set in nginx.conf ? > listen [::]:80; http://wiki.nginx.org/NginxHttpCoreModule#listen -- O< ascii ribbon campaign - stop html mail - www.asciiribbon.org _______________________________________________ nginx mby edogawaconan - Nginx Mailing List - English
On Mon, Feb 1, 2010 at 1:59 PM, 任晓磊 <julyclyde@gmail.com> wrote: > I have a VPS that using tunnelbroker service provided by HE.net, and I > can 'wget -6' to retrieve ipv6 sites' content. Someone told me that he > cannot access my website served by nginx through IPv6 network, while > he can access the 22/tcp SSH port, and can ping6 my VPS. Is there any > compile option toby edogawaconan - Nginx Mailing List - English
On Wed, Jan 27, 2010 at 6:58 PM, Stefanita Rares Dumitrescu <katmai@keptprivate.com> wrote: > works for > www.example.com/file.html > but for > www.example.com/folder/file.html > doesn't even if i use > location = /folder/file.html { root /var/newww; } > > any idea how can i fix this up ? > location = /folder/file.html { alias /var/newww/file.html; } -- O< asby edogawaconan - Nginx Mailing List - English
On Wed, Jan 27, 2010 at 8:07 AM, Stefanita Rares Dumitrescu <katmai@keptprivate.com> wrote: > Hi. > How can i change the root directory of a site but only when a specified file > is requested. > > For ex my website www.example.com has root dir /var/www > I want for www.example.com/file.html the root dir to be /var/newww > > location = /file.html { root /var/newww; }by edogawaconan - Nginx Mailing List - English
On Wed, Jan 13, 2010 at 10:10 AM, lnxa <nginx-forum@nginx.us> wrote: > abc.com/nginx.text rewrite www.abc.com/nginx.text > service_name abc.com www.atans.com > if ($host = 'abc.com' ) { > rewrite ^/(.*)$ http://www.abc.com/$1 permanent; > } > > Is this rewrite rule right? > create different server block for each domain -- O< ascii ribby edogawaconan - Nginx Mailing List - English
2010/1/6 kevin <kevincastiglione@gmail.com>: > hi guys > how do i configure servername so that any domain starting with XXX. gets > matched? > > > for ex > server { > server_name XXX._______; > location / { > root /home/web/work; > fastcgi_pass backend_dev; >by edogawaconan - Nginx Mailing List - English
On Tue, Jan 5, 2010 at 3:15 PM, davvv <nginx-forum@nginx.us> wrote: > Oops, sorry about that; I thought you meant to simply add "debug" to the log directive in the .conf. > > But! I updated to 0.8.31 and rebuilt with --with-debug (as per your recommendation) and everything works perfectly. > > Here's my final nginx.conf if anyone else will want to do something similaby edogawaconan - Nginx Mailing List - English
On Tue, Jan 5, 2010 at 12:31 PM, Kevin Yusharyahya <lists@ruby-forum.com> wrote: > Hi all, > I just moved my site from an Apache-based webserver into a Nginx-based > webserver. As a result, all of my site's permalinks are broken. Can > anyone help me convert my .htaccess into Nginx configuration files? > Here's my .htaccess - for your information, I'm just running a simple >by edogawaconan - Nginx Mailing List - English
On Tue, Dec 29, 2009 at 5:20 PM, Edho P Arief <edhoprima@gmail.com> wrote: > Don't know if found by someone else, but I find this bug today in > autoindex module. > > Basically, the file/dirname is not escaped properly. > > To reproduce: > - enable autoindex in a directory > - create file with name "some<em>thing" in the directory > - view the (brokby edogawaconan - Nginx Mailing List - English
Don't know if found by someone else, but I find this bug today in autoindex module. Basically, the file/dirname is not escaped properly. To reproduce: - enable autoindex in a directory - create file with name "some<em>thing" in the directory - view the (broken) directory list in web -- O< ascii ribbon campaign - stop html mail - www.asciiribbon.org _________________________by edogawaconan - Nginx Mailing List - English
On Fri, Dec 25, 2009 at 2:52 PM, seaprince <nginx-forum@nginx.us> wrote: > Hello all, > > I found a problem when using try_files, it seems a tiny bug here. > > Configuration section: > > location / { > root /home/tee/abc.com; > try_files $uri /t.php; > } > > > other configuration sections like fastcgi settings are omitted. In t.php file, Iby edogawaconan - Nginx Mailing List - English
On Sun, Dec 20, 2009 at 5:41 PM, jimxms <nginx-forum@nginx.us> wrote: > Hi All, > > I've just recently moved over to nginx, so please excuse my stupidity if this is a really easy one to solve. > > I have the following URL: > > www.domain.net/content.php?/section/content_title/1 > > which I am trying to rewrite to: > > www.domain.net/content/section/content_tiby edogawaconan - Nginx Mailing List - English
On Sun, Dec 20, 2009 at 5:22 AM, Sean Allen <sean@monkeysnatchbanana.com> wrote: >> Why not use clear try_files instead of these ugly maintenance if/set/rewrites: >> > > because /maintenance/maintenance.html always exists. > > and it because the default that gets served based on the existence of > .maintenance in the document root. > try_files /.maintenance $urby edogawaconan - Nginx Mailing List - English
Such thing might be useful for init script maker and co. Basically, instead of giving error such as > ~/apps/nginx/sbin/nginx -g 'worker_processes 8;' : "worker_processes" directive is duplicate in /home/me/apps/nginx/conf/nginx.conf:1 it should just override the directive (probably with warning or information). -- O< ascii ribbon campaign - stop html mail - www.asciiribbon.oby edogawaconan - Nginx Mailing List - English
On Thu, Dec 17, 2009 at 5:48 PM, nerdgrind <nginx-forum@nginx.us> wrote: > I see http://wiki.nginx.org/NginxHttpRewriteModule now, but I am still unsure about how some of the logic works. For example the follow rewrite code block allows YOURLS to be properly used with Nginx, but I don't see how this flows logically.: > > > if (!-f $rby edogawaconan - Nginx Mailing List - English
On Thu, Dec 17, 2009 at 5:05 PM, nerdgrind <nginx-forum@nginx.us> wrote: > I've seen code for virtual domains in the nginx.conf to handle setups with WP Super Cache using an if condition that appears to assign a variable value with "set" as shown in the example below. > > Could someone provide me with a link, or links, where I can see some examples of how this is used, howby edogawaconan - Nginx Mailing List - English
On Wed, Dec 16, 2009 at 9:10 AM, Raiden Xu <raiden.xu@gmail.com> wrote: > That is a good habit, thank u! > I suggest /opt/my/<appname> though :) /usr/local usually already has its own directory structure which confused me when I used /usr/local/<appname>. -- O< ascii ribbon campaign - stop html mail - www.asciiribbon.orgby edogawaconan - Php-fpm Mailing List - English
On Sun, Dec 13, 2009 at 12:47 AM, ex-para <nginx-forum@nginx.us> wrote: > Thank you for the reply, is there any special way this should be done? > other than standard stuff (permission, etc), none. -- O< ascii ribbon campaign - stop html mail - www.asciiribbon.org _______________________________________________ nginx mailing list nginx@nginx.org http://nginx.org/mailman/listinfoby edogawaconan - Nginx Mailing List - English
On Sat, Dec 12, 2009 at 10:34 PM, ex-para <nginx-forum@nginx.us> wrote: > I am a total novice and know little of servers and nothing of nginx, having said that I have downloaded nginx in ubuntu 8.04 and got to Welcome to nginx on the laptop screen and the folder is in /var/www/. > Unless someone can please tell me what I do next such as how do I upload my website to nginx or just whatby edogawaconan - Nginx Mailing List - English
On Sat, Dec 12, 2009 at 3:17 PM, katmai <themediaplanet90210@gmail.com> wrote: > hi guys, > > ./configure with my parameters works just fine, but when i try to do > make && make install, i get this error: > > -lidn -lssl -lcrypto -lz -lxml2 -lz -lm -lssl -lcrypto -ldl -lz - > lmysqlclient -lz -lcrypt -lnsl -lm -lssl -lcrypto -lxml2 -lz -lm - > lcrypt -lxml2by edogawaconan - Php-fpm Mailing List - English
On Fri, Dec 11, 2009 at 2:32 PM, Igor Sysoev <igor@sysoev.ru> wrote: > On Fri, Dec 11, 2009 at 01:15:13AM -0200, Marcos Neves wrote: > >> I want to create a special url that makes some scripts available to all >> sites. >> >> All my sites are located at /var/www/<domain.name>/ >> >> And I have a directory at /var/www/_qi/ with my special scriptby edogawaconan - Nginx Mailing List - English
On Fri, Dec 11, 2009 at 11:03 AM, Glen Lumanau <glen@lumanau.web.id> wrote: > I have a domain called aaa.com > > I also have a website at aaa.com/blabla > > > > What I need to do is, > > > > If someone access aaa.com, it will be redirected to aaa.com/blabla or > aaa.com/blabla/bleble > > > > I’ve tried > > > > locatby edogawaconan - Nginx Mailing List - English
On Thu, Dec 10, 2009 at 2:22 AM, Igor Sysoev <igor@sysoev.ru> wrote: > Please send me feedback privately about my English language/style errors. > I DO need it. > > typo in http://nginx.org/en/docs/http/server_names.html * wildcard names starting with asterick: *.nginx.org; * wildcard names ending with asterick: mail.*; (and many other places) asterick => asterisk -- O&lby edogawaconan - Nginx Mailing List - English
On Thu, Dec 10, 2009 at 9:54 AM, Edho P Arief <edhoprima@gmail.com> wrote: > On Thu, Dec 10, 2009 at 2:22 AM, Igor Sysoev <igor@sysoev.ru> wrote: >> Please send me feedback privately about my English language/style errors. >> I DO need it. >> >> > > typo in > > http://nginx.org/en/docs/http/server_names.html > > * wildcard names starting witby edogawaconan - Nginx Mailing List - English
On Wed, Dec 9, 2009 at 3:24 AM, Todd Gruben <tgruben@gmail.com> wrote: > my goal is the following > i want requests that come in this format... > http://d1.example.com > http://d2.example.com > . > . > http://dn.example.com > to proxy through to my web server as > http://hardcode.example.com/?site=d1 > http://hardcode.example.com/?site=d2 > . > . > httpby edogawaconan - Nginx Mailing List - English
On Wed, Dec 9, 2009 at 4:35 AM, nerdgrind <nginx-forum@nginx.us> wrote: > Is there a way to exclude caching .html files? Is there also a way to define the file types that are cashed, such as a list of the static files? > with location -- O< ascii ribbon campaign - stop html mail - www.asciiribbon.org _______________________________________________ nginx mailing list nginx@nginby edogawaconan - Nginx Mailing List - English
On Wed, Dec 2, 2009 at 1:21 PM, Glen Lumanau <glen@lumanau.web.id> wrote: > Hello, > > > > How can I redirect > > > > http://www.mydomain.com/content/view/27840/2/ > > > > into > > > > http://new.mydomain.com/27840 > > > rewrite ^/view/content/(\d+)/.* /$1; -- O< ascii ribbon campaign - stop html mail - www.asciiribbon.org _by edogawaconan - Nginx Mailing List - English
On Sat, Nov 28, 2009 at 8:08 PM, Mahyuddin Susanto <udienz@gmail.com> wrote: > 2009/11/28 Edho P Arief <edhoprima@gmail.com>: > >> no, you can't do this. >> > > hm.. ic ic.. i try another method > rewrite ^/iso/(.+\.iso)$ ftp://10.10.2.73/iso/$1 permanent; -- O< ascii ribbon campaign - stop html mail - www.asciiribbon.org _____________________________by edogawaconan - Nginx Mailing List - English
On Sat, Nov 28, 2009 at 7:45 PM, Mahyuddin Susanto <udienz@gmail.com> wrote: > Hello Maxim > > 2009/11/28 Maxim Dounin <mdounin@mdounin.ru>: >> Hello! >> >> On Sat, Nov 28, 2009 at 05:58:37PM +0700, Mahyuddin Susanto wrote: >> >>> Hello all >>> I have a problem to configure Nginx, i want to redirect any file iso >>> from httpby edogawaconan - Nginx Mailing List - English
On Sat, Nov 21, 2009 at 2:30 AM, Hugo Monteiro <monteiro.hugo@gmail.com> wrote: > wonslung wrote: >> >> What i'm trying to do is run php-fpm in it's own jail. The main reason is >> that i host multiple sites on this server, for different people. It's easy >> to give a user a jail and even root access to that jail without having to >> worry about too much.by edogawaconan - Php-fpm Mailing List - English