<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — Frontaccounting behind reverse proxy?]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=5468&amp;type=atom" />
	<updated>2015-01-30T07:30:16Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=5468</id>
		<entry>
			<title type="html"><![CDATA[Re: Frontaccounting behind reverse proxy?]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=22355#p22355" />
			<content type="html"><![CDATA[<p>Thanks for the feedback. Sharing is what makes the community dependable and trusted.</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2015-01-30T07:30:16Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=22355#p22355</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Frontaccounting behind reverse proxy?]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=22354#p22354" />
			<content type="html"><![CDATA[<p>Thank you for that pointer! It got me started going in the right direction.</p><p>Ultimately, the problem turned out to be something different: my proxy configuration inserted the X-Frame-Option DENY into the response headers. Removing that line from my nginx configuration solved the issue.</p><p>While I was at it, I also changed the proxy configuration to use HTTP 1.1 instead of 1.0:</p><p>&nbsp; &nbsp; proxy_http_version&nbsp; &nbsp; &nbsp; 1.1;</p><p>Hint for anybody who may try to track down similar problems: the Firefox plugin Live HTTP Headers was invaluable in solving this mystery.</p>]]></content>
			<author>
				<name><![CDATA[kkeane]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=19991</uri>
			</author>
			<updated>2015-01-30T07:07:39Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=22354#p22354</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Frontaccounting behind reverse proxy?]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=22137#p22137" />
			<content type="html"><![CDATA[<p>Trace the login method that check for IP spoofing and tailor it to suit your needs.</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2015-01-12T20:29:12Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=22137#p22137</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Frontaccounting behind reverse proxy?]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=22130#p22130" />
			<content type="html"><![CDATA[<p>I am using Frontaccounting 2.3.22. Works beautifully when I access the Web server directly.</p><p>I would like to use it behind a reverse proxy (nginx). This seems to work partially, but AJAX calls seem to time out instead of succeed.</p><p>Is there any information about how to make such a setup work?</p><p>Here is the relevant part of my nginx.conf:</p><div class="codebox"><pre><code>  location /accounting {
    proxy_pass https://&lt;myinternalserver&gt;:443/accounting;
    proxy_set_header        X-Real-IP       $remote_addr;
    proxy_set_header        Host            $host;
    proxy_redirect          off;
    proxy_set_header        X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_connect_timeout 90;
    proxy_send_timeout 90;
    proxy_read_timeout 90;
    client_max_body_size 8m;
    client_body_buffer_size 128k;
    proxy_buffering off;
    add_header X-Frame-Options DENY;
  }</code></pre></div>]]></content>
			<author>
				<name><![CDATA[kkeane]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=19991</uri>
			</author>
			<updated>2015-01-11T21:21:38Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=22130#p22130</id>
		</entry>
</feed>
