PATCH: Fixed broken route in NGINX
This commit is contained in:
@@ -96,7 +96,7 @@ http {
|
|||||||
## VoDs Location and thumbnails
|
## VoDs Location and thumbnails
|
||||||
## Contains MP4 files and PNG thumbnails
|
## Contains MP4 files and PNG thumbnails
|
||||||
location ~ ^/vods/(.+)/(.+\.(mp4|png))$ {
|
location ~ ^/vods/(.+)/(.+\.(mp4|png))$ {
|
||||||
alias /user_data/vods/$1/$2
|
alias /user_data/$1/vods/$2
|
||||||
# where $1 is the user's username and $2 is the thumbnail_name
|
# where $1 is the user's username and $2 is the thumbnail_name
|
||||||
|
|
||||||
# The thumbnails should not be cacheable
|
# The thumbnails should not be cacheable
|
||||||
@@ -105,7 +105,7 @@ http {
|
|||||||
|
|
||||||
## Profile pictures location
|
## Profile pictures location
|
||||||
location ~ ^/user/(.+)/index.png$ {
|
location ~ ^/user/(.+)/index.png$ {
|
||||||
alias /user_data/profile_pictures/$1.png;
|
alias /user_data/$1/index.png;
|
||||||
# where $1 is the user's username
|
# where $1 is the user's username
|
||||||
|
|
||||||
# The profile pictures should not be cacheable
|
# The profile pictures should not be cacheable
|
||||||
|
|||||||
Reference in New Issue
Block a user