You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -68,7 +68,7 @@ The default port for Spring boot applications are on port 8080 if you changed th
68
68
69
69
After creating the file run the following command `ln -s /etc/nginx/sites-available/<my-appname> /etc/nginx/sites-enabled` to symlink the file to the sites enabled directory.
70
70
71
-
Now run `systemctl restart nginx` to restart nginx for the above to take affect.
71
+
Now run `systemctl restart nginx` to restart nginx for the above to take affect.
72
72
73
73
## Deploy
74
74
Build the spring boot jar file and upload it to: `/home/<username>/root/`
@@ -79,7 +79,7 @@ We can check the status of the application/service by running: `systemctl status
79
79
80
80
If we want to stop the application at anytime we just run the command: `systemctl stop <myservice>`
81
81
82
-
Now just go to any of the paths setup in spring boot and it should be up and running.
82
+
Now just go to any of the paths setup in spring boot and it should be up and running.
83
83
84
84
## SSL/HTTPS
85
85
@@ -92,10 +92,10 @@ To run the application over HTTPS we will be installing certbot from letsencrypt
92
92
`apt-get install python-certbot-nginx`
93
93
`certbot --nginx`
94
94
95
-
Follow the instructions and complete the certificate installation.
95
+
Follow the instructions and complete the certificate installation.
96
96
97
-
### FYI
97
+
### FYI
98
98
99
99
All above commands are issued from root, to issue from the user just add `sudo` to the beginning of the command.
100
100
101
-
In all the above wherevere something is in `<>` it means add your own value for this param.
101
+
In all the above wherevere something is in `<>` it means add your own value for this param.
0 commit comments