fixed nginx, bug in context processors
This commit is contained in:
@@ -50,7 +50,7 @@ http {
|
||||
|
||||
# # MASSIVEATOMS
|
||||
location /download/ {
|
||||
alias "/usr/src/app/calibredir";
|
||||
alias "/usr/src/app/calibredir/";
|
||||
# Never forget the fact that this little statement being root instead of alias caused us to lose more than a day troubleshooting
|
||||
}
|
||||
|
||||
|
@@ -1,8 +1,8 @@
|
||||
from os import system, chdir
|
||||
|
||||
|
||||
system("chown -R www:www /usr/src/app/calibredir")
|
||||
print("ownership of calibredir changed")
|
||||
# system("chown -R www:www /usr/src/app/calibredir")
|
||||
# print("ownership of calibredir changed")
|
||||
chdir("/usr/src/app/CalibreWebCompanion")
|
||||
system("python ./manage.py makemigrations")
|
||||
print("ran makemigrations")
|
||||
|
Reference in New Issue
Block a user