On Fri, Jun 17, 2011 at 2:17 PM, HTF <nginx-forum@nginx.us> wrote: > The previous message is from Firefox, the Google Chrome says: > > "Your connection to mydomain.com is encrypted with 256-bit encryption. > However, this page includes other resources which are not secure. These > resources can be viewed by others while in transit and can be modified > by an attacker tby edogawaconan - Nginx Mailing List - English
On Fri, Jun 17, 2011 at 2:08 PM, HTF <nginx-forum@nginx.us> wrote: > Hello, > > - now suddenly the browser indicates that site is encrypted however when > I try to submit a form I have the following message: > > "Although this page is encrypted, the information you have entered is to > be sent over an unencrypted connection and could easily be read by a > third pby edogawaconan - Nginx Mailing List - English
On Fri, Jun 17, 2011 at 3:11 AM, HTF <nginx-forum@nginx.us> wrote: > Ensiferous Wrote: > ------------------------------------------------------- >> Make sure that your PHP output links to the https >> version of images and not the http version. > > Hello, > > Could you please elaborate on this. Do I need create another 'location'? > I've noticed that when I aby edogawaconan - Nginx Mailing List - English
On Wed, Jun 15, 2011 at 4:14 PM, Alexander Over <alexander.over@koeln.de> wrote: > Hello there, > > is there a way to do dynamic rewriting something like this: > > http://localhost/param1/param2/param3/key4/value4/key5/value5/key6/value6 and so on. > > key value pairs can differ in wording and count. > > i want to rewrite this to something like index.php?p1=$1&by edogawaconan - Nginx Mailing List - English
On Sun, Jun 5, 2011 at 7:04 PM, Renedx <nginx-forum@nginx.us> wrote: > I've a main config (nginx.conf) that loads up all configs from the > /domains/ folder. When altering a config inside the /domains/ folder, > reloading nginx with the -HUP signal or with the nginx -s reload > command, it doesn't use the change I just made. > I just tested on ubuntu 10.04 and freebsd 8.2 andby edogawaconan - Nginx Mailing List - English
On Sun, Jun 5, 2011 at 7:03 PM, Kraiser <nginx-forum@nginx.us> wrote: > Ensiferous Wrote: > ------------------------------------------------------- >> Please elaborate on how allowing a filename like >> .dsadsada/sad.php is insecure. > > > Here is better explaintation of the issue : > http://forum.nginx.org/read.php?15,192150,192150 > or this http://forum.ngby edogawaconan - Nginx Mailing List - English
On Sun, Jun 5, 2011 at 5:01 PM, Kraiser <nginx-forum@nginx.us> wrote: > What do you guys think about implement this into nginx just like it is > in apache? > if ( $fastcgi_script_name ~ \..*\/.*php ) { > return 403; > } > because without that some servers which allows to upload images are > vulnerable to external exploits. > or just try_files $uri =404; ___________by edogawaconan - Nginx Mailing List - English
On Thu, Jun 2, 2011 at 5:05 AM, Les Aker <me@lesaker.org> wrote: > Yes, except that I want it to bind to both v4 and v6 for those site. > My question was why the [::] causes it to fail to bind to 127.0.0.1, but works just fine with [::1], when the [::] should be binding to both of those in exactly the same way? > My wild guess would be because it went like this: - nginx lookup locby edogawaconan - Nginx Mailing List - English
On Wed, Jun 1, 2011 at 7:00 PM, pk899 <nginx-forum@nginx.us> wrote: > Loving Nginx so far! So much faster and leaner than Apache. > > Apologies for this yet another Rewrite rule help after so many threads, > but one of domains has a special need and I am struggling with Rewrite > rules. > > The logic is simple: > > 1. For anything in /site folder, it should treat tby edogawaconan - Nginx Mailing List - English
On Wed, Jun 1, 2011 at 7:47 PM, pk899 <nginx-forum@nginx.us> wrote: > Hi. I notice that nginx with just the location rules and usual > directives results in mind-blowing performance. Apache Bench test shows > "115,000 requests per second" can be handled. > > However, when I add a simple rule: > > if ($request_method !~ ^(GET|HEAD|POST)$ ) { > reby edogawaconan - Nginx Mailing List - English
On Wed, Jun 1, 2011 at 3:53 PM, Silvio Siefke <lists@silvio-siefke.de> wrote: > On Wed, 1 Jun 2011 15:45:57 +0700 Edho P Arief wrote: >> as long it's not static html then it's an application. > > Aha. So i can not use Rewrite Rules. > > you can but it'll be tedious unless you meant a simple mapping like this: /page/1 ===> /page.php?id=1 if it's something seo-ish liby edogawaconan - Nginx Mailing List - English
On Wed, Jun 1, 2011 at 3:28 PM, Silvio Siefke <lists@silvio-siefke.de> wrote: > On Wed, 1 Jun 2011 10:14:38 +0700 Edho P Arief wrote: >> This is usually handled by the application. > > > What for application? Im not use a application, i has write my own blog, > want not Wordpress, Typo, Contao or what ever. That is write by me self. > > That is why i ask, i understby edogawaconan - Nginx Mailing List - English
On Wed, Jun 1, 2011 at 10:07 AM, Silvio Siefke <lists@silvio-siefke.de> wrote: > Hello, > > i have write my own Blog now, and the sites ended with id. Thats not good for > the visitors and the search engine so i think. Is there are a way that i can > write the webpage Adress like blogdetail.html?id=1 in a title for example. > > blogdetail.html?id=1 -> www.mysite.com/wby edogawaconan - Nginx Mailing List - English
On Fri, May 27, 2011 at 10:26 AM, baalchina <baalchina@gmail.com> wrote: > Hi everyone > > I am using nginx 1.0.3 under CentOS 5.6, with php-fpm. > > nginx works fine with static file, such as html,txt. But not with php file. > > I wrote a phpinfo.php file in my webserver, my browser and nginx log both > report an 404 error. > did you set root parameter in locatby edogawaconan - Nginx Mailing List - English
On Wed, May 11, 2011 at 7:23 PM, tuffclassified <nginx-forum@nginx.us> wrote: > Any body will help me to redirect my old wordpress post > http://tuffclassified.com/xyz/ to new custom post > http://tuffclassified.com/ads/xyz/ . It was easy in apache as i have to > add just > > # END WordPress > RewriteRule ^/(.*)$ http://tuffclassified.com/ads/$1 > location /xyz/by edogawaconan - Nginx Mailing List - English
On Fri, May 6, 2011 at 11:16 PM, jfix <nginx-forum@nginx.us> wrote: > I'm at a loss how to continue. Could somebody please help? Thanks very > much in advance, Jakob. > I don't know, perhaps it's related with nginx's description? _______________________________________________ nginx mailing list nginx@nginx.org http://nginx.org/mailman/listinfo/nginxby edogawaconan - Nginx Mailing List - English
On Mon, May 2, 2011 at 9:59 AM, flubber <nginx-forum@nginx.us> wrote: > Hello All, > > I'm a newbie on nginx, currently i have configure nginx n php fast cgi > with same server, i want to split nginx and php fast cgi with different, > it's posibble? > > I have test change fastcgi_pass point di php fast cgi to other server, > but when access site just get "No inpuby edogawaconan - Nginx Mailing List - English
On Fri, Apr 29, 2011 at 7:14 PM, okone <nginx-forum@nginx.us> wrote: > I recently switched from using if rules for wordpress "pretty" url > rewriting to the preffered try_files directive. I used the configuration > set out on this > (http://elivz.com/blog/single/wordpress_with_w3tc_on_nginx/) page and it > all seemed to have been going well. > > However I noticby edogawaconan - Nginx Mailing List - English
On Fri, Apr 29, 2011 at 5:01 PM, Jimish Jobanputra <lists@ruby-forum.com> wrote: > Thanks a lot!!! That works like a charm... > > However, there is one more issue: > > If I try to go to http://example.com/coupons/about then it takes me to > index page itself... I tried couple of things, but no luck yet... > I guess the `location /coupons/` should go like this instead (rby edogawaconan - Nginx Mailing List - English
On Fri, Apr 29, 2011 at 6:11 AM, Jimish Jobanputra <lists@ruby-forum.com> wrote: > Hello, > > I have been scratching my head last 2 days trying to get this working: > > I have a Rails application, say, http://example.com and now I want to > run a PHP app on http://example.com/coupons > > I set up the PHP app but I am having a hard time with nginx rewrites. I > hopeby edogawaconan - Nginx Mailing List - English
On Tue, Apr 26, 2011 at 4:33 PM, mpunaskar <nginx-forum@nginx.us> wrote: > Im using Nginx Version : 0.8.54 running on Windows 2003. Its being used > to server large number of static files with filesize varying from 10 kb > to couple of mb in size. > > Nginx creates file called "on" in installation folder which keeps on > growing. > > Can any one guide me asby edogawaconan - Nginx Mailing List - English
On Thu, Apr 21, 2011 at 8:36 AM, Cliff Wells <cliff@develix.com> wrote: > Easy. What data does your database store? Quite probably usernames and > passwords. A fundamental truth is that people often use the same > passwords for multiple services. If you can obtain the password for a > company's CMS or Webmail application, chances are you now have their > password for multipleby edogawaconan - Nginx Mailing List - English
On Sun, Apr 17, 2011 at 2:24 PM, speedfirst <nginx-forum@nginx.us> wrote: > I have this requirement. I want to use nginx as the reverse proxy, which > listen on address A and forward the request to the backend server with > address B. However, if B is down, I want the request to be sent to > address C. The question is, address B is https and address C is http. > But for the arby edogawaconan - Nginx Mailing List - English
On Fri, Apr 15, 2011 at 4:23 PM, Boyko Yordanov <b.yordanov@exsisto.com> wrote: > On Apr 15, 2011, at 12:18 PM, Edho P Arief wrote: > >>> I have the following location config: >>> >>> location ~* (^/browse/$) { >>> >>> And this seems to catch URls like /browse/?page=35 and similar. >>> >>> In my understanding the $ (end ofby edogawaconan - Nginx Mailing List - English
On Fri, Apr 15, 2011 at 4:12 PM, Boyko Yordanov <b.yordanov@exsisto.com> wrote: > Hi list, > > Facing a difficulty here, > > I have the following location config: > > location ~* (^/browse/$) { > > And this seems to catch URls like /browse/?page=35 and similar. > > In my understanding the $ (end of line) symbol should make this location work only for /browse/by edogawaconan - Nginx Mailing List - English
On Sat, Apr 9, 2011 at 4:55 AM, GZ1 <nginx-forum@nginx.us> wrote: > One question, though... this didn't work: > > proxy_pass localhost:8080; > > This did: > > proxy_pass http://localhost:8080; Because the http:// is required. > > What if I want to proxy my ssl too? > I believe it is not recommended to proxy to ssl backend (if possible at all). ______________by edogawaconan - Nginx Mailing List - English
On Thu, Feb 17, 2011 at 8:58 PM, Igor Sysoev <igor@sysoev.ru> wrote: > Use late 0.8.x with this configuration: > > location ~ ^/phpmyadmin/(?<NAME>.+\.php)$ { > fastcgi_pass 127.0.0.1:9000; > fastcgi_param SCRIPT_FILENAME > /var/www/monsite.fr/phpMyAdmin/$NAME; > include fastcgi_params; > } > > more like, iby edogawaconan - Nginx Mailing List - English
On Fri, Feb 18, 2011 at 9:00 AM, atipico <nginx-forum@nginx.us> wrote: > I have a site with just one file: index.htm witch have some ajax linked > to php files. I'd like to make thouse php files only accessable via ajax > (post and get) coming from this index file and block access to all files > but the index.htm. Is it possible in Nginx? Thanks. > location = /index.htm { rby edogawaconan - Nginx Mailing List - English
On Thu, Feb 17, 2011 at 9:44 PM, whiskybar <nginx-forum@nginx.us> wrote: > Why is that and more importantly, what trick should I use to redirect > www.mysite.com --> mysite.com? > If I remember correctly: server { server_name www.mysite.com; rewrite ^ $schema://mysite.com$request_uri permanent; } _______________________________________________ nginx mailing list nginx@nginby edogawaconan - Nginx Mailing List - English
On Mon, Feb 14, 2011 at 4:25 PM, licess <licess@gmail.com> wrote: > i have try to get nginx version,use: > root@vps:~# nv=`/usr/local/nginx/sbin -v` > root@vps:~# echo $nv > perhaps you meant `/usr/local/sbin/nginx -v`? Also the output is directed to stderr (don't ask me why) so you need 2>&1 nv=`/usr/local/sbin/nginx -v 2>&1` echo $nv __________________________by edogawaconan - Nginx Mailing List - English