does anyone know how to setup fully working n8n self hosting n8n thats secured from attacks, that saves the data and is actually functioning
I have a huge problem with localhost:5678. N8N just cant accept it, first i couldnt connect my google creds because in the OAuth url there was 5678. Now i cant use webhooks because in the url is 5678. Whatever i do it doesnt work
I used Digital Ocean Droplet Ubuntu, Git bash for SSH, and namecheap for domain
I tried to build it with gpt and i did build and setup all this:
- VPS & OS
- Docker & Docker Compose
- n8n Directory & Files
- SSH Hardening
- UFW Firewall Setup
- Basic Auth for n8n Editor
- Encryption Key for Credentials
- Docker Restart Policy
- Custom Domain Setup
- HTTPS/SSL
- Reverse Proxy Path Routing
- Backup System (Daily / Manual Ready)
- Restore Drill (Disaster Recovery Test)
- Resolved Issues
- n8n Editor Basic Auth
- Auto-Restart & Recovery
- Backup System (Daily / Manual Ready)
- Restore Drill
- Correct Webhook Exposure
- Docker Isolation
- Reverse Proxy via NGINX
- .env File Creation & Secrets Setup
But the whole time gpt lied to me and it didnt go as planned, so me as a guy who has done this for the first time, Im very confused and dont know what to fix and what to do overall in general. If anyone could help me setup self hosting n8n that is actually working and is secured and saving all the data and is actually good self hosted n8n, not like in yt vids where they set it up in 3 mins but its barely working. Please let me know i would be very grateful!