I currently have
location /folder1 {
configuration goes here
}
location /folder2 {
configuration goes here
}
I want to serve .mp4 files in these two locations by using the mp4 module
location ~ \.mp4$ {
mp4;
}
What is the proper way to do this? If I just add location ~ \.mp4$
like above, then wouldn't mp4 files lose configuration from the location folder its in?