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;
|
server_name server_domain_or_IP;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
include uwsgi_params;
|
proxy_pass_header Server;
|
||||||
uwsgi_pass unix:/home/<CHANGE_ME>/lookyloo/lookyloo.sock;
|
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
|
Group=www-data
|
||||||
WorkingDirectory=/home/<CHANGE_ME>/lookyloo
|
WorkingDirectory=/home/<CHANGE_ME>/lookyloo
|
||||||
Environment="PATH=/home/<CHANGE_ME>/<MY_VIRTUALENV_PATH>/bin"
|
Environment="PATH=/home/<CHANGE_ME>/<MY_VIRTUALENV_PATH>/bin"
|
||||||
ExecStart=/home/<CHANGE_ME>/<MY_VIRTUALENV_PATH>/bin/uwsgi --ini lookyloo.ini
|
ExecStart=/home/<CHANGE_ME>/<MY_VIRTUALENV_PATH>/bin/start_website.py
|
||||||
Environment=FLASK_APP=lookyloo
|
Environment=LOOKYLOO_HOME=/home/<CHANGE_ME>/lookyloo
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|
Loading…
Reference in New Issue