Skip to content

Commit a1849af

Browse files
committed
Doc(aws): Add notes on viewer restart
1 parent fa2d167 commit a1849af

1 file changed

Lines changed: 31 additions & 0 deletions

File tree

aws/setup/ec2_viewer/readme.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Start ec2 viewer
2+
3+
## Starting instance
4+
5+
* Make sure to tick http and https access
6+
* Should appear as inbound rules in security group
7+
8+
## Associate elastic IP with instance
9+
10+
## Installing stuff
11+
12+
Mostly follow sync.sh
13+
14+
## Starting server
15+
16+
Make sure to replace
17+
18+
```
19+
app.run(debug=True, host="0.0.0.0", port=5001)
20+
```
21+
22+
with
23+
24+
```
25+
app.run(debug=False, host="127.0.0.1", port=5001)
26+
```
27+
28+
## Debugging
29+
30+
* `http://emagedoc.xyz/` and same with IP should show nginx default page "needs configuration"
31+
* `http://emagedoc.xyz/` is working but https is not -> check cerbot

0 commit comments

Comments
 (0)