<?xml version="1.0" encoding="UTF-8"?>        <rss version="2.0"
             xmlns:atom="http://www.w3.org/2005/Atom"
             xmlns:dc="http://purl.org/dc/elements/1.1/"
             xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
             xmlns:admin="http://webns.net/mvcb/"
             xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:content="http://purl.org/rss/1.0/modules/content/">
        <channel>
            <title>
									Laravel and ProxyPass/ProxyPassReverse base URL fix - BugOverflow				            </title>
            <link>https://muszak.eu/community/bugoverflow/laravel-and-proxypassproxypassreverse-base-url-fix/</link>
            <description>muszak.eu Forum dyskusyjne</description>
            <language>pl-PL</language>
            <lastBuildDate>Sun, 19 Apr 2026 20:58:18 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>RE: Laravel and ProxyPass/ProxyPassReverse base URL fix</title>
                        <link>https://muszak.eu/community/bugoverflow/laravel-and-proxypassproxypassreverse-base-url-fix/#post-434</link>
                        <pubDate>Mon, 03 Sep 2018 14:19:45 +0000</pubDate>
                        <description><![CDATA[WARNING!: this solution is not working for /login methon od auth controller.
WORKAROUND: try to change ProxyPass url from my.service.local to my.service.com and modify /ets/hosts file of tho...]]></description>
                        <content:encoded><![CDATA[<p>WARNING!: this solution is not working for /login methon od auth controller.</p>
<p>WORKAROUND: try to change ProxyPass url from my.service.local to my.service.com and modify /ets/hosts file of those two servers to point that my.service.com to local ip address of internal server</p>]]></content:encoded>
						                            <category domain="https://muszak.eu/community/bugoverflow/">BugOverflow</category>                        <dc:creator>mrmucha</dc:creator>
                        <guid isPermaLink="true">https://muszak.eu/community/bugoverflow/laravel-and-proxypassproxypassreverse-base-url-fix/#post-434</guid>
                    </item>
				                    <item>
                        <title>RE: Laravel and ProxyPass/ProxyPassReverse base URL fix</title>
                        <link>https://muszak.eu/community/bugoverflow/laravel-and-proxypassproxypassreverse-base-url-fix/#post-435</link>
                        <pubDate>Mon, 03 Sep 2018 13:36:20 +0000</pubDate>
                        <description><![CDATA[1. edit /routes/api.php
2. add



1
2
3
4
5
6
7
8
9
10
$proxy_url &nbsp; &nbsp;= getenv&#040;&#039;PROXY_URL&#039;);
$proxy_schema = getenv(&#039;PROXY_SCHEMA&#039;);
&nbsp;
if (!empty($proxy_url)) {
&nbsp; &amp;nb...]]></description>
                        <content:encoded><![CDATA[<p>1. edit /routes/api.php<br />
2. add</p>

<div class="bwp-syntax-block clearfix">
<div class="bwp-syntax-toolbar"><div class="bwp-syntax-control"><a href=";" class="bwp-syntax-source-switch" title="View Source Code"></a></div></div>
<div class="bwp-syntax-wrapper clearfix bwp-syntax-simple"><table class="php"><tbody><tr class="li1"><td class="ln"><pre class="de1">1
2
3
4
5
6
7
8
9
10
</pre></td><td class="de1"><pre class="de1"><span class="re0">$proxy_url</span> &nbsp; &nbsp;<span class="sy0">=</span> <span class="kw3">getenv</span><span class="br0">&#040;</span><span class="st_h">'PROXY_URL');</span>
<span class="st_h">$proxy_schema = getenv('PROXY_SCHEMA');</span>
&nbsp;
<span class="st_h">if (!empty($proxy_url)) {</span>
<span class="st_h">&nbsp; &nbsp; URL::forceRootUrl($proxy_url);</span>
<span class="st_h">}</span>
&nbsp;
<span class="st_h">if (!empty($proxy_schema)) {</span>
<span class="st_h">&nbsp; &nbsp; URL::forceSchema($proxy_schema);</span>
<span class="st_h">}</span></pre></td></tr></tbody></table></div>
<div class="bwp-syntax-source"><pre class="no-parse">$proxy_url    = getenv('PROXY_URL');
$proxy_schema = getenv('PROXY_SCHEMA');

if (!empty($proxy_url)) {
	URL::forceRootUrl($proxy_url);
}

if (!empty($proxy_schema)) {
	URL::forceSchema($proxy_schema);
}</pre></div></div>

<p>3. edit .env file<br />
4.  put</p>

<div class="bwp-syntax-block clearfix">
<div class="bwp-syntax-toolbar"><div class="bwp-syntax-control"><a href=";" class="bwp-syntax-source-switch" title="View Source Code"></a></div></div>
<div class="bwp-syntax-wrapper clearfix bwp-syntax-simple"><table class="php"><tbody><tr class="li1"><td class="ln"><pre class="de1">1
2
</pre></td><td class="de1"><pre class="de1">PROXY_URL <span class="sy0">=</span> http<span class="sy0">:</span><span class="co1">//internet.address.com</span>
PROXY_SCHEMA <span class="sy0">=</span> http</pre></td></tr></tbody></table></div>
<div class="bwp-syntax-source"><pre class="no-parse">PROXY_URL = http://internet.address.com
PROXY_SCHEMA = http</pre></div></div>]]></content:encoded>
						                            <category domain="https://muszak.eu/community/bugoverflow/">BugOverflow</category>                        <dc:creator>mrmucha</dc:creator>
                        <guid isPermaLink="true">https://muszak.eu/community/bugoverflow/laravel-and-proxypassproxypassreverse-base-url-fix/#post-435</guid>
                    </item>
				                    <item>
                        <title>Laravel and ProxyPass/ProxyPassReverse base URL fix</title>
                        <link>https://muszak.eu/community/bugoverflow/laravel-and-proxypassproxypassreverse-base-url-fix/#post-433</link>
                        <pubDate>Mon, 03 Sep 2018 13:33:48 +0000</pubDate>
                        <description><![CDATA[how to fix base url? indead of local hostname]]></description>
                        <content:encoded><![CDATA[how to fix base url? indead of local hostname]]></content:encoded>
						                            <category domain="https://muszak.eu/community/bugoverflow/">BugOverflow</category>                        <dc:creator>mrmucha</dc:creator>
                        <guid isPermaLink="true">https://muszak.eu/community/bugoverflow/laravel-and-proxypassproxypassreverse-base-url-fix/#post-433</guid>
                    </item>
							        </channel>
        </rss>
		