Running youtrack on a different path?

Hi,

This may have been answered already, but I did not find it in the forums.

I'm running youtrack under nginx. The example config suggests I should be able to specify a path for the proxy redirection, e.g.:

location /youtrack {

          proxy_pass http://127.0.0.1:2000

}

Unfortunately this doesn't work, as youtrack doesn't understand the /youtrack path being given to it, i.e.:

08:36:13,921 INFO  [MainServlet                   ] [uest: /youtrack] Start processing request /youtrack

08:36:13,928 ERROR [ResponseFactory               ] [uest: /youtrack] No response action for uri: /youtrack

08:36:13,928 ERROR [MainServlet                   ] [uest: /youtrack] No response action for uri: /youtrack

08:36:13,931 INFO  [MainServlet                   ] [uest: /NotFound] Start processing request /NotFound

08:36:13,959 INFO  [ResourceBundle                ] [uest: /NotFound] Create new resource budle [text/css]

08:36:14,152 INFO  [ResourceBundle                ] [uest: /NotFound] Create new resource budle [text/javascript]

08:36:14,394 INFO  [MainServlet                   ] [uest: /NotFound] Finish processing request /NotFound in 463ms

08:36:14,399 INFO  [MainServlet                   ] [uest: /NotFound] Finish processing request /youtrack in 478ms

I'm sure I'm missing a configuration somewhere!

Your help would be most appreciated.

Kind regards,

Dave.

3 comments
Comment actions Permalink

Hi David,

How do you run youtrack: as jar, war or Windows service?

--

Best regards,

Vyacheslav Lukianov

Software Developer

JetBrains, Inc.

http://www.jetbrains.com

"Develop with pleasure!"

Hi,

This may have been answered already, but I did not find it in the

forums.

I'm running youtrack under nginx. The example config suggests I should

be able to specify a path for the proxy redirection, e.g.:

location /youtrack {
> proxy_pass http://127.0.0.1:2000
> }

Unfortunately this doesn't work, as youtrack doesn't understand the

/youtrack path being given to it, i.e.:

08:36:13,921 INFO
> [MainServlet    ] [uest: /youtrack] Start processing
> request /youtrack
> 
> 08:36:13,928 ERROR [ResponseFactory] [uest: /youtrack]
> No response action for uri: /youtrack
> 
> 08:36:13,928 ERROR [MainServlet    ] [uest: /youtrack]
> No response action for uri: /youtrack
> 
> 08:36:13,931 INFO  [MainServlet    ] [uest: /NotFound]
> Start processing request /NotFound
> 
> 08:36:13,959 INFO  [ResourceBundle ] [uest: /NotFound]
> Create new resource budle [text/css]
> 
> 08:36:14,152 INFO  [ResourceBundle ] [uest: /NotFound]
> Create new resource budle [text/javascript]
> 
> 08:36:14,394 INFO  [MainServlet    ] [uest: /NotFound]
> Finish processing request /NotFound in 463ms
> 
> 08:36:14,399 INFO  [MainServlet    ] [uest: /NotFound]
> Finish processing request /youtrack in 478ms

I'm sure I'm missing a configuration somewhere!

Your help would be most appreciated.

Kind regards,

Dave.

---

Original message URL:

http://devnet.jetbrains.net/message/5319894#5319894

0
Comment actions Permalink

Hello David,

You need to run YouTrack in /youtrack context for this purpose.

The best way to do that - run YouTrack under Tomcat, because you can configure context under Tomcat.

http://confluence.jetbrains.net/display/YTD2/Windows.+WAR+and+Tomcat+Servlet+Container

After that you can configure Nginx as frontend for YouTrack.

Thanks,

Sergey

0
Comment actions Permalink

Hi Sergey,

Thanks for the quick response!

I thought this might be your answer, and it's an acceptable approach for me. Thanks for this.

Kind regards,

David.

0

Please sign in to leave a comment.