Reputation
3,650
Top tag
Next privilege 5,000 Rep.
Approve tag wiki edits
Badges
3 15 41
Newest
 Revival
Impact
~370k people reached

Apr
28
comment JIRA becomes inaccessible after adding “address=127.0.0.1” in Tomcat connector
@ChethanS., so, what steps do you take to get the things running? Are they all running within a single operating system instance?
Apr
28
comment JIRA becomes inaccessible after adding “address=127.0.0.1” in Tomcat connector
@ChethanS., the information you provide about your situation is very inconsistent and quite contradictory -- how exactly are you able to access JIRA (from under tomcat) if tomcat is only listening on 127.0.0.1? tomcat usually runs from under user tomcat, so, if you're not seeing it, chances are, it's not installed correctly.
Apr
28
answered JIRA becomes inaccessible after adding “address=127.0.0.1” in Tomcat connector
Mar
26
comment How to change filename on the fly depending on the title args - nginx rewrite
What you're trying to do is bad from the usability perspective -- with attachment as Content-Disposition you're forcing people to download your PDF -- users will have find a location and name for it, and then bother finding a programme to view it in. I don't download any PDFs personally. If the browser doesn't let me view a PDF, I go to the next one.
Mar
17
awarded  Revival
Feb
29
awarded  Nice Question
Feb
26
comment How to set up NGINX reverse proxy while preserving relative urls of static resources?
In addition to the base href suggestion above, which would be the best and most reliable option, you could also check the $http_referer variable of each request on the parent, and then, conditionally, provide redirects to the client, e.g., place the following prior to your try_files in the parent -- if ($http_referer ~ ^https://parent.mydomain.com/[a-z0-9]{24}) {return 302 http://child.mydomain.com$request_uri;}, but note that this may interfere with client caching the requests, so, it's not at all recommended.
Feb
26
comment How to set up NGINX reverse proxy while preserving relative urls of static resources?
best solution is the base href one i suggested above, it'll work 100%, within the constraints of your question and doesn't invalidate anything at all; you can use nested locations, but there are some restrictions, and it's just not going to work in your case that way; i wish i'd be able to give more details, but this whole question couldn't possibly be any more unclear on what is it that you ultimately want to do and what your ulterior constraints are; also, FYI, this is not a discussion board -- you're not supposed to go back and forth with brand new requirements every couple of days
Feb
25
comment How to set up NGINX reverse proxy while preserving relative urls of static resources?
@jwerre, html would have to be added to the child html source; the error_page or location -- parent; note that any one of the three should be sufficient.
Feb
24
answered How to set up NGINX reverse proxy while preserving relative urls of static resources?
Feb
24
comment How to set up NGINX reverse proxy while preserving relative urls of static resources?
so, do you just want all the requests from parent to go to the child thing? do you have anything on the parent that should not go to child?
Feb
23
awarded  Famous Question
Feb
21
comment How to set up NGINX reverse proxy while preserving relative urls of static resources?
What exactly are you asking? Can you add concrete examples of what you see, and what do you want instead?
Feb
9
awarded  Yearling
Jan
31
awarded  Popular Question
Jan
10
awarded  Nice Answer
Dec
4
comment How to setup redundant ejabberd servers?
But the document says that clustering across regions in not recommended. "The clustering in ejabberd Community Edition relies on low latency networking. While it may work across regions, it is recommended that you run an ejabberd cluster in a single Amazon region."
Nov
19
comment Is this an nginx proxy_cache bug?
Also, what sort of headers does your backend provide in its responses, in both 200 OK and 404 Not Found cases?
Nov
19
comment Is this an nginx proxy_cache bug?
@DenisPshenov, what does it write to cache? does it write the new request, or the old one? what happens on subsequent requests?
Nov
8
comment Why does google-site-verification go into fastcgi-pass ?
The original sample in the question should already work 100%! I would guess that there's something else within the config that's not being presented here that is messing up the configuration; or perhaps the config has no effect for the host/port in question?