Skip to content

Commit

Permalink
conf
Browse files Browse the repository at this point in the history
  • Loading branch information
Winston HAYTER committed Nov 1, 2021
1 parent 3ffddd0 commit b810dce
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions config/macos_webserv.conf
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
server {
listen 80;
listen 8080;
root ./www;
index index.php;
server_name srv_one;
error_page 404 ./404.html;
client_max_body_size 1K;
client_max_body_size 1M;
upload_store ./www/upload;

location / {
Expand All @@ -29,7 +29,7 @@ server {
}
}
server {
listen 81;
listen 8081;
root ./www;
index index.php;
server_name srv_two;
Expand All @@ -38,7 +38,7 @@ server {
}
}
server {
listen 82;
listen 8082;
server_name srv_three;
root ./www;
index subject.html;
Expand All @@ -51,15 +51,15 @@ server {
}
}
server {
listen 83;
listen 8083;
index notExist;
server_name srv_four;
location / {
autoindex on;
}
}
server {
listen 84;
listen 8084;
server_name server_five;
root ./www;
location / {
Expand Down
12 changes: 6 additions & 6 deletions config/ubuntu_webserv.conf
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
server {
listen 80;
listen 8080;
root ./www;
index index.php;
server_name srv_one;
error_page 404 ./404.html;
client_max_body_size 1K;
client_max_body_size 1M;
upload_store ./www/upload;

location / {
Expand All @@ -29,7 +29,7 @@ server {
}
}
server {
listen 81;
listen 8081;
root ./www;
index index.php;
server_name srv_two;
Expand All @@ -38,7 +38,7 @@ server {
}
}
server {
listen 82;
listen 8082;
server_name srv_three;
root ./www;
index subject.html;
Expand All @@ -51,15 +51,15 @@ server {
}
}
server {
listen 83;
listen 8083;
index notExist;
server_name srv_four;
location / {
autoindex on;
}
}
server {
listen 84;
listen 8084;
server_name server_five;
root ./www;
location / {
Expand Down

0 comments on commit b810dce

Please sign in to comment.