File tree Expand file tree Collapse file tree 3 files changed +33
-0
lines changed Expand file tree Collapse file tree 3 files changed +33
-0
lines changed Original file line number Diff line number Diff line change
1
+ ## NGINX Setup
2
+
3
+ - Copy config to ` /etc/nginx/sites-available/ `
4
+ - Test config ` sudo nginx -t `
5
+ - Restart NGINX ` sudo systemctl restart nginx `
Original file line number Diff line number Diff line change
1
+ server {
2
+ listen 80;
3
+
4
+ server_name prashanthr.me;
5
+
6
+ location / {
7
+ proxy_pass http://localhost:9095;
8
+ proxy_http_version 1.1;
9
+ proxy_set_header Upgrade $http_upgrade;
10
+ proxy_set_header Connection 'upgrade';
11
+ proxy_set_header Host $host;
12
+ proxy_cache_bypass $http_upgrade;
13
+ }
14
+ }
Original file line number Diff line number Diff line change
1
+ {
2
+ "deploy" : {
3
+ "production" : {
4
+ "user" : " root" ,
5
+ "host" : [" 45.55.194.231" ],
6
+ "ref" : " origin/master" ,
7
+ "key" : " ~/.ssh/do" ,
8
+ "repo" : " git@github.com:prashanthr/talk-to-me.git" ,
9
+ "path" : " /var/www" ,
10
+ "ssh_options" : [" StrictHostKeyChecking=no" , " PasswordAuthentication=no" ],
11
+ "post-deploy" : " echo deployment complete ✓"
12
+ }
13
+ }
14
+ }
You can’t perform that action at this time.
0 commit comments