mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-03-11 09:04:54 +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">
|
||||
ProxyPass "unix:/var/run/diaspora/diaspora.sock|http://localhost"
|
||||
</Location>
|
||||
<VirtualHost diaspora.localhost>
|
||||
ServerName diaspora.localhost
|
||||
|
||||
# TODO This is temporary. Remove this
|
||||
<Location "/podmin">
|
||||
ProxyPass "unix:/var/run/diaspora/diaspora.sock|http://freedombox/podmin"
|
||||
</Location>
|
||||
DocumentRoot "/var/lib/diaspora/public/"
|
||||
|
||||
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