parse new video in new go function

validate extension on server to allow only videos
This commit is contained in:
2021-09-24 22:12:42 +02:00
parent 156aaa7a71
commit fd5542c528
3 changed files with 16 additions and 9 deletions

View File

@ -13,7 +13,7 @@ server {
try_files $uri /index.html;
}
location ~* ^/(api/|token) {
location ~* ^/(api) {
client_max_body_size 10G;
proxy_pass http://127.0.0.1:8081;
}