mirror of https://github.com/CIRCL/lookyloo
chg: Update system config files
parent
945511d6b3
commit
a2c4d871fe
|
@ -3,7 +3,13 @@ server {
|
|||
server_name server_domain_or_IP;
|
||||
|
||||
location / {
|
||||
include uwsgi_params;
|
||||
uwsgi_pass unix:/home/<CHANGE_ME>/lookyloo/lookyloo.sock;
|
||||
proxy_pass_header Server;
|
||||
proxy_set_header Host $http_host;
|
||||
proxy_redirect off;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Scheme $scheme;
|
||||
proxy_connect_timeout 10;
|
||||
proxy_read_timeout 10;
|
||||
proxy_pass http://localhost:5100/;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -7,8 +7,8 @@ User=www-data
|
|||
Group=www-data
|
||||
WorkingDirectory=/home/<CHANGE_ME>/lookyloo
|
||||
Environment="PATH=/home/<CHANGE_ME>/<MY_VIRTUALENV_PATH>/bin"
|
||||
ExecStart=/home/<CHANGE_ME>/<MY_VIRTUALENV_PATH>/bin/uwsgi --ini lookyloo.ini
|
||||
Environment=FLASK_APP=lookyloo
|
||||
ExecStart=/home/<CHANGE_ME>/<MY_VIRTUALENV_PATH>/bin/start_website.py
|
||||
Environment=LOOKYLOO_HOME=/home/<CHANGE_ME>/lookyloo
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
Loading…
Reference in New Issue