be360:fimm
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| be360:fimm [2024/03/25 09:14] – created 93.66.122.50 | be360:fimm [2024/08/28 08:17] (current) – Added sign spacing sysadm | ||
|---|---|---|---|
| Line 4: | Line 4: | ||
| Dedicated: Be360fimm (ID: i-0214f1fe3ceffe8ce)\\ | Dedicated: Be360fimm (ID: i-0214f1fe3ceffe8ce)\\ | ||
| - | Directories: | + | Directories: |
| + | OS: Debian 12\\ | ||
| + | SSH login: admin@35.158.209.70\\ | ||
| + | Hours of operation: 24/7 | ||
| ---- | ---- | ||
| Line 17: | Line 20: | ||
| \\ | \\ | ||
| - | === Folder structure === | + | ==== Folder structure |
| < | < | ||
| + | ├── app.js | ||
| + | ├── Storage | ||
| + | ├── uploadFtp.sh | ||
| ├── Certs | ├── Certs | ||
| │ ├── server.cert | │ ├── server.cert | ||
| │ └── server.key | │ └── server.key | ||
| - | ├── | + | ├── |
| ├── Logs | ├── Logs | ||
| │ ├── Ftp | │ ├── Ftp | ||
| │ └── Webhook | │ └── Webhook | ||
| - | ├── Storage | ||
| - | ├── app.js | ||
| ├── node_modules | ├── node_modules | ||
| - | ├── package-lock.json | ||
| ├── package.json | ├── package.json | ||
| - | ├── uploadFtp.sh | + | └── |
| - | └── | + | |
| </ | </ | ||
| + | |||
| + | ---- | ||
| + | === app.js === | ||
| + | Application code. It create the endpoint "/ | ||
| + | Sample request: | ||
| + | < | ||
| + | POST https:// | ||
| + | { | ||
| + | " | ||
| + | " | ||
| + | } | ||
| + | </ | ||
| + | On request, it add " | ||
| + | |||
| + | \\ | ||
| + | |||
| + | === Storage === | ||
| + | Contains images that are gonna to be sent in the FTP connection. | ||
| + | |||
| + | \\ | ||
| + | |||
| + | === uploadFtp.sh === | ||
| + | Bash script that upload to Fimm's FTP all images sent in the lat 60 minutes using [[https:// | ||
| + | It runs with a [[https:// | ||
| + | It also handle logs creation and clear '' | ||
| + | |||
| + | \\ | ||
| + | |||
| + | === Certs === | ||
| + | Contains certificates to enable https endpoint in '' | ||
| + | To create: | ||
| + | < | ||
| + | openssl req -nodes -new -x509 -keyout server.key -out server.cert | ||
| + | </ | ||
| + | |||
| + | \\ | ||
| + | |||
| + | === wab.log === | ||
| + | Pm2 log file. Every hour is cleaned by '' | ||
| + | |||
| + | \\ | ||
| + | |||
| + | === Logs === | ||
| + | Contains hourly logs for both FTP and webhooks interactions. | ||
| + | |||
| + | \\ | ||
| + | |||
| + | === node_modules, | ||
| + | Standard [[https:// | ||
| + | |||
| + | \\ | ||
| + | |||
| + | === Nginx config === | ||
| + | Located at ''/ | ||
| + | * Port 5000: AQP | ||
| + | * Port 5001: ComoAcque | ||
| + | * Port 5002: 2iReteGas_Lotto_5 | ||
| + | * Port 5003: 2iReteGas_Lotto_6 | ||
| + | |||
| + | \\ | ||
| + | |||
| + | === Active cronjobs === | ||
| + | * Automated SSL certs renewal: '' | ||
| + | * Automated [[https:// | ||
| + | * For each Fimm's customer there is a separated cronjob '' | ||
| + | |||
| + | \\ | ||
| + | |||
| + | --- // | ||
be360/fimm.1711358043.txt.gz · Last modified: by 93.66.122.50
