pre fixing problems
This commit is contained in:
4
deployment/deploy.py
Normal file
4
deployment/deploy.py
Normal file
@@ -0,0 +1,4 @@
|
||||
from os import environ
|
||||
|
||||
|
||||
|
@@ -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
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user