root as public directory in nginx.conf. this resolves the issue of nginx not serving static files from /public

This commit is contained in:
danielvincent 2010-11-13 01:34:51 -08:00
parent 988e2afe3d
commit f57f3236d9

View file

@ -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;