-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a1383c7
commit 0c6ac6f
Showing
3 changed files
with
43 additions
and
1 deletion.
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,31 @@ | ||
## | ||
# This is a configuration for the security consultant site for labs | ||
# Students will use this for things like redirection and csrf attacks. | ||
# The main page also has links to various learning resources. | ||
## | ||
|
||
# Default server configuration | ||
# | ||
server { | ||
listen 80; | ||
|
||
root /var/www/amoksecurity; | ||
|
||
# Add index.php to the list if you are using PHP | ||
index index.php index.html index.htm; | ||
|
||
server_name amoksecurity.wtf; | ||
|
||
location / { | ||
try_files $uri $uri/ =404; | ||
} | ||
|
||
# pass PHP scripts to FastCGI server | ||
# | ||
location ~ \.php$ { | ||
include snippets/fastcgi-php.conf; | ||
|
||
fastcgi_pass unix:/var/run/php/php7.0-fpm.sock; | ||
} | ||
|
||
} |
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