<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.1701technology.com/index.php?action=history&amp;feed=atom&amp;title=Wordpress_%3A_Run_Behind_Reverse_Proxy</id>
	<title>Wordpress : Run Behind Reverse Proxy - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.1701technology.com/index.php?action=history&amp;feed=atom&amp;title=Wordpress_%3A_Run_Behind_Reverse_Proxy"/>
	<link rel="alternate" type="text/html" href="https://wiki.1701technology.com/index.php?title=Wordpress_:_Run_Behind_Reverse_Proxy&amp;action=history"/>
	<updated>2026-05-06T15:04:09Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.1</generator>
	<entry>
		<id>https://wiki.1701technology.com/index.php?title=Wordpress_:_Run_Behind_Reverse_Proxy&amp;diff=1133&amp;oldid=prev</id>
		<title>Michael.mast: /* Fix */</title>
		<link rel="alternate" type="text/html" href="https://wiki.1701technology.com/index.php?title=Wordpress_:_Run_Behind_Reverse_Proxy&amp;diff=1133&amp;oldid=prev"/>
		<updated>2019-06-24T19:30:15Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Fix&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 19:30, 24 June 2019&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l6&quot; &gt;Line 6:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 6:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Fix==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Fix==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The following fix is readily searchable on the internet.&amp;lt;ref&amp;gt;https://blog.chmouel.com/2016/09/22/the-trick-to-get-your-wordpress-behind-a-reverse-proxy/&amp;lt;/ref&amp;gt; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Append &lt;/del&gt;the following to wp-config.php&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The following fix is readily searchable on the internet.&amp;lt;ref&amp;gt;https://blog.chmouel.com/2016/09/22/the-trick-to-get-your-wordpress-behind-a-reverse-proxy/&amp;lt;/ref&amp;gt; &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Add &lt;/ins&gt;the following to wp-config.php &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;to the BEGINNING of the file after &amp;lt;?php &amp;lt;ref&amp;gt;https://techblog.jeppson.org/2017/08/fix-wordpress-sorry-not-allowed-access-page/&amp;lt;/ref&amp;gt;, otherwise you will get the &amp;quot;you do not have access to this page&amp;quot; error&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;if ( (!empty( $_SERVER['HTTP_X_FORWARDED_HOST'])) ||&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;if ( (!empty( $_SERVER['HTTP_X_FORWARDED_HOST'])) ||&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Michael.mast</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.1701technology.com/index.php?title=Wordpress_:_Run_Behind_Reverse_Proxy&amp;diff=1132&amp;oldid=prev</id>
		<title>Michael.mast: Created page with &quot;==Purpose== To run Wordpress from a docker container on a private subnet, while proxying public access through an Apache proxy.  ==Problem== Though the proxy would serve conte...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.1701technology.com/index.php?title=Wordpress_:_Run_Behind_Reverse_Proxy&amp;diff=1132&amp;oldid=prev"/>
		<updated>2019-06-24T16:11:03Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;==Purpose== To run Wordpress from a docker container on a private subnet, while proxying public access through an Apache proxy.  ==Problem== Though the proxy would serve conte...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Purpose==&lt;br /&gt;
To run Wordpress from a docker container on a private subnet, while proxying public access through an Apache proxy.&lt;br /&gt;
&lt;br /&gt;
==Problem==&lt;br /&gt;
Though the proxy would serve content over TLS, wordpress and the internal container would not. This would result in missing content because the java script scripts would not be allowed to run.&lt;br /&gt;
&lt;br /&gt;
==Fix==&lt;br /&gt;
The following fix is readily searchable on the internet.&amp;lt;ref&amp;gt;https://blog.chmouel.com/2016/09/22/the-trick-to-get-your-wordpress-behind-a-reverse-proxy/&amp;lt;/ref&amp;gt; Append the following to wp-config.php&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
if ( (!empty( $_SERVER['HTTP_X_FORWARDED_HOST'])) ||&lt;br /&gt;
     (!empty( $_SERVER['HTTP_X_FORWARDED_FOR'])) ) {&lt;br /&gt;
    $_SERVER['HTTPS'] = 'on';&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Michael.mast</name></author>
		
	</entry>
</feed>