@@ -130,7 +130,7 @@ sudo certbot certonly --standalone --preferred-challenges http
130
130
- Make sure to create the certificate for domain and all subdomains
131
131
After running the command, enter your web app and admin web app domains separated by a space, like this:
132
132
```
133
- panel.YOUR_DOMAIN admin.YOUR_DOMAIN
133
+ NODE_URL admin.YOUR_DOMAIN
134
134
```
135
135
- The 'certbot' command generates ` fullchain.pem ` and ` privkey.pem ` in either ` /etc/letsencrypt/admin.YOURDOMAIN.COM ` or ` /etc/letsencrypt/panel.YOURDOMAIN.COM ` .
136
136
- Create the ` ssl ` folder inside ` /etc/nginx `
@@ -139,8 +139,8 @@ sudo mkdir /etc/nginx/ssl
139
139
```
140
140
- Copy both ` fullchain.pem ` and ` privkey.pem ` into ` /etc/nginx/ssl ` .
141
141
```
142
- sudo cp /etc/letsencrypt/live/panel.YOUR_DOMAIN /fullchain.pem /etc/nginx/ssl/
143
- sudo cp /etc/letsencrypt/live/panel.YOUR_DOMAIN /privkey.pem /etc/nginx/ssl/
142
+ sudo cp /etc/letsencrypt/live/NODE_URL /fullchain.pem /etc/nginx/ssl/
143
+ sudo cp /etc/letsencrypt/live/NODE_URL /privkey.pem /etc/nginx/ssl/
144
144
```
145
145
or
146
146
```
@@ -216,7 +216,7 @@ http {
216
216
listen [::]:443 ssl;
217
217
218
218
index index.html index.htm;
219
- server_name panel.YOUR_DOMAIN ;
219
+ server_name NODE_URL ;
220
220
221
221
root /var/www/html/wikifidesdoc/site;
222
222
@@ -252,7 +252,7 @@ http {
252
252
253
253
```
254
254
- Please update YOUR_DOMAIN with your actual domain name in admin.YOUR_DOMAIN.
255
- - Please update YOUR_DOMAIN with your actual domain name in panel.YOUR_DOMAIN .
255
+ - Please update YOUR_DOMAIN with your actual domain name in NODE_URL .
256
256
257
257
- Restart Nginx
258
258
```
@@ -324,7 +324,7 @@ cd /home/Blockchain-based-IoT-Server/backend
324
324
sudo nano .env
325
325
```
326
326
327
- - Inside the ` .env ` file, paste the following parameters. Note that your user web app URL is "panel.YOUR_DOMAIN " (e.g., "panel.zksensor.tech").
327
+ - Inside the ` .env ` file, paste the following parameters. Note that your user web app URL is "NODE_URL " (e.g., "panel.zksensor.tech").
328
328
329
329
```
330
330
# Set this with your node URL (e.g., 'zksensor.tech')
@@ -346,7 +346,7 @@ ADMIN_WALLET_PRIVATE_KEY='YOUR_ADMIN_WALLET_PRIVATE_KEY'
346
346
347
347
# Server Configuration
348
348
HOST_PROTOCOL='https://'
349
- HOST_NAME_OR_IP='panel.YOUR_DOMAIN'
349
+ HOST_NAME_OR_IP=NODE_URL
350
350
HOST_PORT='6000'
351
351
HOST_SUB_DIRECTORY='app'
352
352
@@ -387,7 +387,7 @@ THEME_BOX='1D293D'
387
387
THEME_BUTTON='33658A'
388
388
389
389
# IoT Server logo path
390
- THEME_LOGO='https://panel.YOUR_DOMAIN /app/uploads/logo.png'
390
+ THEME_LOGO='https://NODE_URL /app/uploads/logo.png'
391
391
392
392
ACCESS_TOKEN_ISSUER='https://fidesinnova.io'
393
393
ACCESS_TOKEN_EXPIRATION_TIME=1200000000
@@ -597,7 +597,7 @@ sudo nano .env
597
597
```
598
598
Enter the following lines in the .env file and replace ` YOUR_NODE_NAME ` with your actual node name.
599
599
```
600
- VITE_URL='https://panel.YOUR_DOMAIN /app/'
600
+ VITE_URL='https://NODE_URL /app/'
601
601
VITE_NODE_NAME='YOUR_NODE_NAME'
602
602
VITE_RPC_URL='https://rpc1.fidesinnova.io'
603
603
```
@@ -610,7 +610,7 @@ sudo nano .env
610
610
```
611
611
Enter the following lines in the .env file and replace ` YOUR_NODE_NAME ` with your actual node name.
612
612
```
613
- VITE_URL='https://panel.YOUR_DOMAIN /app/'
613
+ VITE_URL='https://NODE_URL /app/'
614
614
VITE_NODE_NAME='YOUR_NODE_NAME'
615
615
VITE_RPC_URL='https://rpc1.fidesinnova.io'
616
616
```
@@ -638,11 +638,11 @@ To automate the setup and build processes for both the backend and frontend appl
638
638
sudo ./initial_setup.sh
639
639
```
640
640
## D.2. Account Setup
641
- - Goto ` https://panel.YOUR_DOMAIN ` and go to the 'Sign up' section and create a password for your ` super admin email address ` .
641
+ - Goto ` https://NODE_URL ` and go to the 'Sign up' section and create a password for your ` super admin email address ` .
642
642
- Goto ` https://admin.YOUR_DOMAIN ` and login with your ` super admin email address ` and its password.
643
643
644
644
## D.3. Congratulations
645
- - Panel Web App, ` https://panel.YOUR_DOMAIN ` is for your regular users.
645
+ - Panel Web App, ` https://NODE_URL ` is for your regular users.
646
646
- Admin Web App, ` https://admin.YOUR_DOMAIN ` is for your super admin users.
647
647
- Contact FidesInnova at info@fidesinnova.io to add your Web App URLs to the FidesInnova website. These are already registered IoT Servers:
648
648
- [ https://panel.motioncertified.online ] ( https://panel.motioncertified.online/ )
0 commit comments