I finally have mediadrop deployed on nginx. I know I must be missing something in my nginx.conf that directs to the admin path, I would appreciate help finishing this up. If anyone can tell me why I do not have the admin sources loading and what to do. Thank you!
nginx install and deployment - no css|images|scripts in admin
3 posts Started 8 years ago by may Latest reply from sibidharan
-
-
Same here. Knowing the admin folder is located in <location of mediadrop installation>/mediadrop/public, I tried adding the location in manually to no avail. Entire mediadrop root folder is owned by www-data, of which nginx's user and the user running mediadrop's code are a part. Images and scripts 404, which is why they do not appear.
-
Add these to your server config to fix the admin panel
location /admin/scripts/ { root /root/mediadrop-git/mediadrop/public ; break; } location /admin/images/ { root /root/mediadrop-git/mediadrop/public ; break; } location /admin/styles/ { root /root/mediadrop-git/mediadrop/public ; break; }
/root/mediadrop-git/mediadrop is my installation. Replace it with your installation.
Reply
You must log in to post.