Adding SSL using certbot + Nginx
Submitted by stephenwenceslao on Sun, 03/03/2024 - 10:48When adding SSL using certbot + nginx. We need to grant access 'Nginx Full.
sudo ufw allow 'Nginx Full'
When adding SSL using certbot + nginx. We need to grant access 'Nginx Full.
sudo ufw allow 'Nginx Full'
Add this to conf nginx website
client_max_body_size 512M;
Debian 11 bullseye drupal local environment
Clone the repository into ~/projects/drupal/projectname
** Dump database from production **
2. Dump database from prod drupal website using drush:
../vendor/drush/drush/drush sql-dump --gzip --result-file=../db_dump_08072023_1102am_latest.sql
3. Copy dump db from local using rsync
rsync --progress username@domainname.com:~/directory/db_dump_08072023_1102am_latest.tar.gz ~/projects/drupal/projectname
* Create mysql user
I have spent so many hours just to figure this out. I use wss(secure) for my django websocket. Ive realized that using firebase and firecamp is working perfectly, but in my flutter app websocket connect it does not work. arggg, spending many hours working this error (I initially dont know why the heck is this).
Adding this piece of code in the main.dart file fix my issue. :)
1.Can run gunicorn on your env
gunicorn --bind 0.0.0.0:9001 myapp.wsgi2.Added subdomain on droplet networking. 3.Root access. 4.Install certbot nginx
sudo apt install certbot python3-certbot-nginx.
1.Make sure you already installed the gunicorn on your django env
pip install gunicorn
2.Create new socket file on
sudo nano /etc/systemd/system/gunicorn_subdomain1.socket