REFACTOR: Documentation for some Flask routes & nginx.conf

This commit is contained in:
Chris-1010
2025-03-02 14:47:37 +00:00
parent 0a4bbc73e5
commit 2fceb6c19d
3 changed files with 31 additions and 4 deletions

View File

@@ -96,7 +96,8 @@ http {
## VoDs Location and thumbnails
## Contains MP4 files and PNG thumbnails
location ~ ^/vods/(.+)/(.+\.(mp4|png))$ {
alias /user_data/vods/$1/$2;
alias /user_data/vods/$1/$2
# where $1 is the user's username and $2 is the thumbnail_name
# The thumbnails should not be cacheable
expires -1d;
@@ -105,6 +106,7 @@ http {
## Profile pictures location
location ~ ^/user/(.+)/index.png$ {
alias /user_data/profile_pictures/$1.png;
# where $1 is the user's username
# The profile pictures should not be cacheable
expires -1d;