Challenge 1
Make / skip the whole location search with an exact match.
location / {
root /var/www/html;
}
Press Ctrl⌘Enter to check your answer
Fill in server blocks, location matching, maps, and includes.
Challenge 1
location / {
root /var/www/html;
}
Press Ctrl⌘Enter to check your answer
Challenge 2
server {
listen 80 ;
server_name _;
return 444;
}
Press Ctrl⌘Enter to check your answer
Challenge 3
map $http_upgrade $connection_upgrade {
default ;
'' close;
}
Press Ctrl⌘Enter to check your answer
Challenge 4
http {
conf.d/*.conf;
}
Press Ctrl⌘Enter to check your answer
Challenge 5
server {
listen 443 ssl;
example.com;
}
Press Ctrl⌘Enter to check your answer