Friday, December 7, 2007

Redirecting nginx to Tomcat.

I've got a JRuby on Rails application which is deployed on a Tomcat server. My Http server of choice is nginx. I wanted nginx to redirect one of my domains to the JRuby application. The default port that Tomcat listens on is 8080.

The following nginx configuration snippet solves this problem:

server {
location / {

BTW, I never thought that my (basic) Russian language skills will be useful in my IT career. Most of the nginx related blog posts I found are in Russian language!


mileszs said...

I imagine you would be a hero if you were willing to translate some of the more helpful blog posts! I know I would be excited. I'm sure you would, of course, have to get permission from each blogger.

It seems as though it would be very helpful.

Andrzej Krzywda said...

Hey miles,

Sounds like a good idea!

Next time I find a Russian blog post that helps me I will ask for permissions to translate.

Anonymous said...

Order prescription medication from Europe for weight loss, cholesterol, asthma, antibiotics, pain relief, heartburn, anxiety, sexual performace, blood pressure treatment.

Order Generic Viagra Sildenafil drug is used to treat impotence in men. Sildenafil increases the bodys ability to achieve and maintain an erection during sexual stimulation.

Brand Kamagra drug and brand Penegra are a top selling generic versions of Viagra , world renowned for its unbeatable potency and efficiency.

Generic Cialis TADALAFIL drug, dubbed "Le Weekend Drug" in Europe, is a new treatment for Erectile Dysfunction (ED) from Lilly ICOS LLC. Clinical studies show that Brand Cialis works faster, lasts up to 36 hours and has less side effects than Viagra.

Generic Levitra VARDENAFIL drug is one of the latest treatments for Erectile Dysfunction. Levitra acts in the same way as Viagra by blocking an enzyme called PDE-5. Clinical studies show that Brand Levitra works faster and has less side effects than Viagra.

Generic Trial packs are your way to evaluate different brand ED drugs and decide which is best for you before ordering the larger packs.

Anonymous said...