@@ -130,7 +130,7 @@ sudo certbot certonly --standalone --preferred-challenges http
130130- Make sure to create the certificate for domain and all subdomains
131131After running the command, enter your web app and admin web app domains separated by a space, like this:
132132```
133- panel.YOUR_DOMAIN admin.YOUR_DOMAIN
133+ NODE_URL admin.YOUR_DOMAIN
134134```
135135- The 'certbot' command generates ` fullchain.pem ` and ` privkey.pem ` in either ` /etc/letsencrypt/admin.YOURDOMAIN.COM ` or ` /etc/letsencrypt/panel.YOURDOMAIN.COM ` .
136136- Create the ` ssl ` folder inside ` /etc/nginx `
@@ -139,8 +139,8 @@ sudo mkdir /etc/nginx/ssl
139139```
140140- Copy both ` fullchain.pem ` and ` privkey.pem ` into ` /etc/nginx/ssl ` .
141141```
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/
144144```
145145or
146146```
@@ -216,7 +216,7 @@ http {
216216 listen [::]:443 ssl;
217217
218218 index index.html index.htm;
219- server_name panel.YOUR_DOMAIN ;
219+ server_name NODE_URL ;
220220
221221 root /var/www/html/wikifidesdoc/site;
222222
@@ -252,7 +252,7 @@ http {
252252
253253```
254254- 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 .
256256
257257- Restart Nginx
258258```
@@ -324,7 +324,7 @@ cd /home/Blockchain-based-IoT-Server/backend
324324sudo nano .env
325325```
326326
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").
328328
329329```
330330# Set this with your node URL (e.g., 'zksensor.tech')
@@ -346,7 +346,7 @@ ADMIN_WALLET_PRIVATE_KEY='YOUR_ADMIN_WALLET_PRIVATE_KEY'
346346
347347# Server Configuration
348348HOST_PROTOCOL='https://'
349- HOST_NAME_OR_IP='panel.YOUR_DOMAIN'
349+ HOST_NAME_OR_IP=NODE_URL
350350HOST_PORT='6000'
351351HOST_SUB_DIRECTORY='app'
352352
@@ -387,7 +387,7 @@ THEME_BOX='1D293D'
387387THEME_BUTTON='33658A'
388388
389389# 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'
391391
392392ACCESS_TOKEN_ISSUER='https://fidesinnova.io'
393393ACCESS_TOKEN_EXPIRATION_TIME=1200000000
@@ -597,7 +597,7 @@ sudo nano .env
597597```
598598Enter the following lines in the .env file and replace ` YOUR_NODE_NAME ` with your actual node name.
599599```
600- VITE_URL='https://panel.YOUR_DOMAIN /app/'
600+ VITE_URL='https://NODE_URL /app/'
601601VITE_NODE_NAME='YOUR_NODE_NAME'
602602VITE_RPC_URL='https://rpc1.fidesinnova.io'
603603```
@@ -610,7 +610,7 @@ sudo nano .env
610610```
611611Enter the following lines in the .env file and replace ` YOUR_NODE_NAME ` with your actual node name.
612612```
613- VITE_URL='https://panel.YOUR_DOMAIN /app/'
613+ VITE_URL='https://NODE_URL /app/'
614614VITE_NODE_NAME='YOUR_NODE_NAME'
615615VITE_RPC_URL='https://rpc1.fidesinnova.io'
616616```
@@ -638,11 +638,11 @@ To automate the setup and build processes for both the backend and frontend appl
638638 sudo ./initial_setup.sh
639639 ```
640640## 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 ` .
642642- Goto ` https://admin.YOUR_DOMAIN ` and login with your ` super admin email address ` and its password.
643643
644644## 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.
646646- Admin Web App, ` https://admin.YOUR_DOMAIN ` is for your super admin users.
647647- Contact FidesInnova at info@fidesinnova.io to add your Web App URLs to the FidesInnova website. These are already registered IoT Servers:
648648- [ https://panel.motioncertified.online ] ( https://panel.motioncertified.online/ )
0 commit comments