Created
August 29, 2016 13:29
-
-
Save gabsoftware/48dfeb6a66f9eebfe64e50003b6f0de9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
What I'm having in Apache config (working) | |
RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} !-f | |
RewriteRule ^/(.*)$ balancer://diaspora%{REQUEST_URI} [P,QSA,L] | |
<Proxy balancer://diaspora> | |
BalancerMember http://127.0.0.1:3000 | |
</Proxy> | |
diaspora.yml : | |
listen: '127.0.0.1:3000' | |
What I tried in Apache config (does not work) | |
RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} !-f | |
RewriteRule ^/(.*)$ balancer://diaspora%{REQUEST_URI} [P,QSA,L] | |
<Proxy balancer://diaspora> | |
BalancerMember unix://tmp/diaspora.sock | |
</Proxy> | |
diaspora.yml : | |
listen: 'unix:tmp/diaspora.sock' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment