From here, follow the official Panel installation documentation. # Installing the PanelĮxcellent, we now have all of the required dependencies installed and configured. Running another Redis instance (opens new window). If you have Redis already in use you may want to look into The default Redis install is perfectly fine for the panel. Try_files $uri $uri/ /index.php?$query_string įastcgi_split_path_info ^(. \.php)(/. )$ įastcgi_pass unix:/run/php/ įastcgi_param PHP_VALUE "upload_max_filesize = 100M \n post_max_size=100M" įastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name # add_header Strict-Transport-Security "max-age=15768000 preload " Īdd_header X-Content-Type-Options nosniff Īdd_header X-XSS-Protection "1 mode=block" Īdd_header Content-Security-Policy "frame-ancestors 'self'" # See before uncommenting the line below. Once the installation is completed, verify the installation using the following commands below: nodejs -version. To install Node.js and npm on Debian use the following commands: sudo apt install nodejs npm. Ssl_certificate_key /etc/letsencrypt/live//privkey.pem Ssl_certificate /etc/letsencrypt/live//fullchain.pem # SSL Configuration - Replace the example with your domain # allow larger file uploads and longer script runtimes Access_log /var/log/nginx/ Įrror_log /var/log/nginx/ error
0 Comments
Leave a Reply. |