pre fixing problems

This commit is contained in:
TinyAtoms
2020-08-15 01:56:27 -03:00
parent f9478f2894
commit 1b8d81bd3c
8 changed files with 109 additions and 48 deletions

4
deployment/deploy.py Normal file
View File

@@ -0,0 +1,4 @@
from os import environ

View File

@@ -1,9 +1,9 @@
worker_processes 1;
# user nobody nogroup;
user massiveatoms;
# user massiveatoms; # TEMP disabled
# user nobody nobody; # for systems with 'nobody' as a group instead
error_log /home/massiveatoms/Desktop/logs/nginx.log warn;
# error_log /home/massiveatoms/Desktop/logs/nginx.log warn;
# pid /var/run/nginx.pid;
events {
@@ -44,18 +44,18 @@ http {
client_max_body_size 4G;
# set the correct host(s) for your site
server_name localhost 192.168.1.4; # set this to the server url? or ip? we'll see MASSIVEATOMS
server_name localhost 0.0.0.0; # set this to the server url? or ip? we'll see MASSIVEATOMS
keepalive_timeout 5;
# MASSIVEATOMS
location /download/ {
alias "/run/media/massiveatoms/1AEEEA6EEEEA421D/Documents and Settings/MassiveAtoms/Documents/Calibre Library/";
# Never forget the fact that this little statement being root instead of alias caused us to lose more than a day troubleshooting
}
# # MASSIVEATOMS
# location /download/ {
# alias "/run/media/massiveatoms/1AEEEA6EEEEA421D/Documents and Settings/MassiveAtoms/Documents/Calibre Library/";
# # Never forget the fact that this little statement being root instead of alias caused us to lose more than a day troubleshooting
# }
location /static/ {
alias "/home/massiveatoms/Desktop/calibre-web-companion/CalibreWebCompanion/static/";
alias "/usr/src/app/CalibreWebCompanion/static/";
# Never forget the fact that this little statement being root instead of alias caused us to lose more than a day troubleshooting
}