Skip to content

Commit 9bfc008

Browse files
committed
valid domain name for app.codepod.io
1 parent f03960e commit 9bfc008

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,14 +72,15 @@ docker push lihebi/codepod-ui:v0.1.0
7272
docker push lihebi/codepod-api:v0.1.0
7373
```
7474

75-
Create a cloud VM with docker support. Setup TLS:
75+
Create a cloud VM with docker support. Setup TLS, e.g., `app-v1.codepod.io`:
7676

7777
```
78-
sudo certbot certonly
78+
ufw allow 80
79+
certbot certonly --standalone
7980
```
8081

8182
Clone this repo on the cloud VM, and go to the production folder, change the
82-
domain name to e.g. app-v0_1_0.codepod.io:
83+
domain name to your DNS e.g., `app-v1.codepod.io`:
8384

8485
```
8586
cd compose/prod

compose/prod/nginx/nginx.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
set $domain app-v0_1_0.codepod.io
1+
set $domain app-v1.codepod.io
22

33
# By default, server /var/www/html
44
# Need to mount it! I prefer not to mount it by default so that I don't server

0 commit comments

Comments
 (0)