Skip to content

Commit 6eb340b

Browse files
committed
better docs
1 parent 79f780a commit 6eb340b

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

docs/SetupANewServer.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,10 @@ cd /etc/nginx/sites-available
8383
sudo mv default default1
8484
# copy to default
8585

86+
sudo nano default
87+
# Paste in nginx setup #
88+
89+
8690
# test setup
8791
sudo nginx -t
8892

docs/nginx/nginx-production-no-livestreaming.conf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# if they're separated, this is the nginx.conf file
2+
13
user www-data;
24
worker_processes auto;
35
pid /run/nginx.pid;

docs/nginx/nginx.conf

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# if the files are separate, this is in sites-available
2+
13
# this file is for your server block, in combo with the http block
24

35
server {
@@ -51,4 +53,4 @@ server {
5153
proxy_cache_bypass $http_upgrade;
5254
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
5355
}
54-
}
56+
}

0 commit comments

Comments
 (0)