root as public directory in nginx.conf. this resolves the issue of nginx not serving static files from /public
This commit is contained in:
parent
988e2afe3d
commit
f57f3236d9
1 changed files with 1 additions and 1 deletions
|
|
@ -41,7 +41,7 @@ http {
|
|||
|
||||
listen 80;
|
||||
server_name alpha.joindiaspora.com www.alpha.joindiaspora.com;
|
||||
root /usr/local/app/diaspora;
|
||||
root /usr/local/app/diaspora/public;
|
||||
|
||||
location / {
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
|
|
|
|||
Loading…
Reference in a new issue