Added server directive for root folder

This commit is contained in:
Vivek Santayana 2022-08-18 17:08:03 +01:00
parent 5dc6c4998d
commit ed100ee9e5

View File

@ -20,6 +20,11 @@ server {
include /etc/nginx/certbot-challenge.conf;
# Define locations for static files to be served by Nginx
location ^~ /root/ {
include /etc/nginx/mime.types;
alias /usr/share/nginx/html/root/;
}
location ^~ /quiz/static/ {
include /etc/nginx/mime.types;
alias /usr/share/nginx/html/quiz/static/;