-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #49 from saladuit/mergeFix
Merge fix
- Loading branch information
Showing
16 changed files
with
197 additions
and
118 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
# Server Configuration | ||
# | ||
server { | ||
listen f1r3s10.codam.nl:8080; | ||
server_name f1r3s10; | ||
error_dir /data/server1/errors/; | ||
client_max_body_size 3M; | ||
|
||
location / { | ||
alias /data/server1/www/; | ||
index landing_page.html; | ||
allowed_methods GET; | ||
autoindex on; | ||
} | ||
} | ||
|
||
|
||
server { | ||
listen f1r3s10.codam.nl:8080; | ||
server_name f1r3s10.codam.nl; | ||
error_dir /data/server1/errors/; | ||
client_max_body_size 3M; | ||
|
||
location / { | ||
alias /data/server1/www/; | ||
index landing_page.html; | ||
allowed_methods GET; | ||
autoindex on; | ||
} | ||
|
||
location /python/ { | ||
allowed_methods GET POST; | ||
alias /data/server1/python/; | ||
cgi on; | ||
} | ||
|
||
location /images/ { | ||
alias /data/server1/images/; | ||
allowed_methods GET POST; | ||
autoindex on; | ||
} | ||
|
||
location /upload/ { | ||
alias /data/server1/upload/; | ||
allowed_methods POST DELETE; | ||
} | ||
|
||
location /removed_folder/ { | ||
allowed_methods GET; | ||
return /images/coffee-resized.jpeg; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,52 +1,27 @@ | ||
# Server Configuration | ||
# | ||
server { | ||
listen f1r3s10.codam.nl:8080; | ||
server_name f1r3s10; | ||
error_dir /data/server1/errors/; | ||
client_max_body_size 3M; | ||
|
||
location / { | ||
alias /data/server1/www/; | ||
index landing_page.html; | ||
allowed_methods GET; | ||
autoindex on; | ||
} | ||
} | ||
|
||
|
||
server { | ||
listen f1r3s10.codam.nl:8080; | ||
server_name f1r3s10.codam.nl; | ||
listen localhost:8080; | ||
server_name localhost; | ||
root /data/server1; | ||
error_dir /data/server1/errors/; | ||
client_max_body_size 3M; | ||
|
||
location / { | ||
alias /data/server1/www/; | ||
index landing_page.html; | ||
alias /www/; | ||
index landing_no_img.html; | ||
allowed_methods GET; | ||
autoindex on; | ||
} | ||
|
||
location /python/ { | ||
allowed_methods GET POST; | ||
alias /data/server1/python/; | ||
cgi on; | ||
} | ||
|
||
location /images/ { | ||
alias /data/server1/images/; | ||
allowed_methods GET POST; | ||
allowed_methods GET; | ||
autoindex on; | ||
} | ||
|
||
location /upload/ { | ||
alias /data/server1/upload/; | ||
alias /upload/; | ||
allowed_methods POST DELETE; | ||
} | ||
|
||
location /removed_folder/ { | ||
allowed_methods GET; | ||
return /images/coffee-resized.jpeg; | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>This is Server 1</title> | ||
</head> | ||
<body> | ||
<h1 align="center">This is just to show you what we have here</h1> | ||
<p align="center">and we have some plain text underneath <br> with more text under it.</p> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.