edit traefik.yml
entryPoints:
web:
address: ":80"
websecure:
address: ":443"
dot: # <- ADD THIS
address: ":853" # <- ADD THISedit traefik.yml
entryPoints:
web:
address: ":80"
websecure:
address: ":443"
dot: # <- ADD THIS
address: ":853" # <- ADD THIS| https://youtu.be/O3y4GfwGX_E | |
| #add the ppa repo, update your system | |
| sudo add-apt-repository ppa:mrazavi/openvas | |
| sudo apt-get update | |
| #install the required packages | |
| sudo apt install sqlite3 | |
| sudo apt install openvas9 | |
| sudo apt install texlive-latex-extra --no-install-recommends |
| @DATABASE@__%Y-%m-%d_%H-%M-%S |
| <?php | |
| // requires php5 | |
| define('UPLOAD_DIR', 'images/'); | |
| $img = $_POST['img']; | |
| $img = str_replace('data:image/png;base64,', '', $img); | |
| $img = str_replace(' ', '+', $img); | |
| $data = base64_decode($img); | |
| $file = UPLOAD_DIR . uniqid() . '.png'; | |
| $success = file_put_contents($file, $data); | |
| print $success ? $file : 'Unable to save the file.'; |
| # to generate your dhparam.pem file, run in the terminal | |
| openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |