mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-09-19 04:59:01 +00:00
diaspora: Will be served from a subdomain
Cannot host diaspora on a path because the url is part of the user id.
This commit is contained in:
parent
742fe48a29
commit
747a02adf2
@ -1,10 +1,17 @@
|
|||||||
<Location "/diaspora">
|
<VirtualHost diaspora.localhost>
|
||||||
ProxyPass "unix:/var/run/diaspora/diaspora.sock|http://localhost"
|
ServerName diaspora.localhost
|
||||||
</Location>
|
|
||||||
|
|
||||||
# TODO This is temporary. Remove this
|
DocumentRoot "/var/lib/diaspora/public/"
|
||||||
<Location "/podmin">
|
|
||||||
ProxyPass "unix:/var/run/diaspora/diaspora.sock|http://freedombox/podmin"
|
|
||||||
</Location>
|
|
||||||
|
|
||||||
Alias "/assets" "/usr/share/diaspora/public/assets"
|
<Location "/">
|
||||||
|
ProxyPass "unix:/var/run/diaspora/diaspora.sock|http://localhost/"
|
||||||
|
</Location>
|
||||||
|
|
||||||
|
<Location "/assets">
|
||||||
|
ProxyPass !
|
||||||
|
</Location>
|
||||||
|
|
||||||
|
<Directory /var/lib/diaspora/public/>
|
||||||
|
Require all granted
|
||||||
|
</Directory>
|
||||||
|
</VirtualHost>
|
||||||
Loading…
x
Reference in New Issue
Block a user