Re: 502 Bad Gateway errors from Nginx when trying to access Tomcat

2016-04-21 Thread mex
Hello, did you followed the atlassian-guide? > https://confluence.atlassian.com/jirakb/integrating-jira-with-nginx-426115340.html > https://confluence.atlassian.com/confkb/how-to-use-nginx-to-proxy-requests-for-confluence-313459790.html usually when nginxy says "502" you should trust this. for

502 Bad Gateway errors from Nginx when trying to access Tomcat

2016-04-21 Thread gischethans
I have JIRA and Nginx running on the same server with Nginx installed to serve as a reverse proxy. From what I learnt from various sources, in the Tomcat server.xml file, I must add an address="127.0.0.1" attribute so that Tomcat does not listen to outside IPs. But once I add that to my 8080 and 84

Re: only .json file not load using rewrite or internal redirection cycle while internally redirecting

2016-04-21 Thread rahulgupta20nov
Thanks Maxim Dounin, This solution is absolutely working fine. I am suffering from last 2 month from this problem. I didn't notice I have done regular express mistake. Thanks for solution. I will make better Regular Expression Concept. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,2

Re: Redirect /login to /

2016-04-21 Thread B.R.
location = / { proxy_pass $scheme://$host/login; } ? --- *B. R.* On Thu, Apr 21, 2016 at 2:56 PM, Geo P.C. wrote: > I have a wordpress site in which be default while accessing wp.geo.com it > goes to login page wp.geo.com/login/ . > > But what i need when i access wp.geo.com, in browser addr

Server setup consultant

2016-04-21 Thread Giulio Loffreda
Hello Sorry if it's not the good channel but could not find another. I need to setup my web server for production, now we have a test server configured in a amateur way just for development. This lacks security and good practices. As we don't have anybody on board with enough Linux and nginx

Re: Port redirect in URL

2016-04-21 Thread Jim Ohlstein
Hello, On 4/21/16 10:55 AM, Francis Daly wrote: On Thu, Apr 21, 2016 at 10:41:24AM -0400, Jim Ohlstein wrote: On 4/21/16 10:17 AM, Igor Sysoev wrote: On 21 Apr 2016, at 17:09, Jim Ohlstein wrote: Hi there, location / { proxy_pass http://10.0.250.37:8000; proxy_set_header

Re: Port redirect in URL

2016-04-21 Thread Jim Ohlstein
Hello, On 4/21/16 10:51 AM, Igor Sysoev wrote: On 21 Apr 2016, at 17:41, Jim Ohlstein wrote: Hello, On 4/21/16 10:17 AM, Igor Sysoev wrote: On 21 Apr 2016, at 17:14, Igor Sysoev wrote: On 21 Apr 2016, at 17:09, Jim Ohlstein wrote: Hello, I'm going a bit crazy here and hoping for some

Re: Port redirect in URL

2016-04-21 Thread Francis Daly
On Thu, Apr 21, 2016 at 10:41:24AM -0400, Jim Ohlstein wrote: > On 4/21/16 10:17 AM, Igor Sysoev wrote: > >>On 21 Apr 2016, at 17:09, Jim Ohlstein wrote: Hi there, > >>> location / { > >>> proxy_pass http://10.0.250.37:8000; > >>> proxy_set_header Host $host; > >proxy_redirect

Re: Port redirect in URL

2016-04-21 Thread Igor Sysoev
On 21 Apr 2016, at 17:41, Jim Ohlstein wrote: > Hello, > > On 4/21/16 10:17 AM, Igor Sysoev wrote: >> On 21 Apr 2016, at 17:14, Igor Sysoev wrote: >> >>> On 21 Apr 2016, at 17:09, Jim Ohlstein wrote: >>> Hello, I'm going a bit crazy here and hoping for some help. I've set up

Re: Port redirect in URL

2016-04-21 Thread Jim Ohlstein
Hello, On 4/21/16 10:17 AM, Igor Sysoev wrote: On 21 Apr 2016, at 17:14, Igor Sysoev wrote: On 21 Apr 2016, at 17:09, Jim Ohlstein wrote: Hello, I'm going a bit crazy here and hoping for some help. I've set up a new Mailman installation on FreeBSD. The system is set as follows: Web <->

Re: Port redirect in URL

2016-04-21 Thread Jim Ohlstein
Hello, On 4/21/16 10:14 AM, Igor Sysoev wrote: On 21 Apr 2016, at 17:09, Jim Ohlstein wrote: Hello, I'm going a bit crazy here and hoping for some help. I've set up a new Mailman installation on FreeBSD. The system is set as follows: Web <-> nginx SSL termination and reverse proxy <-> ngin

Re: Port redirect in URL

2016-04-21 Thread Igor Sysoev
On 21 Apr 2016, at 17:14, Igor Sysoev wrote: > On 21 Apr 2016, at 17:09, Jim Ohlstein wrote: > >> Hello, >> >> I'm going a bit crazy here and hoping for some help. I've set up a new >> Mailman installation on FreeBSD. The system is set as follows: >> >> Web <-> nginx SSL termination and reve

Re: Port redirect in URL

2016-04-21 Thread Igor Sysoev
On 21 Apr 2016, at 17:09, Jim Ohlstein wrote: > Hello, > > I'm going a bit crazy here and hoping for some help. I've set up a new > Mailman installation on FreeBSD. The system is set as follows: > > Web <-> nginx SSL termination and reverse proxy <-> nginx + fcgiwrap + Mailman > > When I try

Port redirect in URL

2016-04-21 Thread Jim Ohlstein
Hello, I'm going a bit crazy here and hoping for some help. I've set up a new Mailman installation on FreeBSD. The system is set as follows: Web <-> nginx SSL termination and reverse proxy <-> nginx + fcgiwrap + Mailman When I try to access https://lists.mydomain.com or https://lists.mydom

Re: only .json file not load using rewrite or internal redirection cycle while internally redirecting

2016-04-21 Thread Maxim Dounin
Hello! On Thu, Apr 21, 2016 at 02:05:24AM -0400, rahulgupta20nov wrote: > Hi, > In nginx conf file I have written:- > > location /hello { > alias /var/www/html/hello/some_path/www; > try_files $uri $uri/ /helllo/some_path/www/index.html; > } > > location ~ /hello/(.*

Redirect /login to /

2016-04-21 Thread Geo P.C.
I have a wordpress site in which be default while accessing wp.geo.com it goes to login page wp.geo.com/login/ . But what i need when i access wp.geo.com, in browser address bar it should display as wp.geo.com but inside server it should proxypass to wp.geo.com/login. We tried configuring nginx p

Re: (52) Empty reply from server

2016-04-21 Thread Pankaj Chaudhary
Hi, Thank You! yes i am able to write successfully but while reading i am not getting the my written value in header. for Example from my source code:-I am writing "thisitestvalue" value against key "Set-Cookie" but if trying to read value against key "Set-Cookie" not getting . On Thu, Ap