Created
February 20, 2026 12:13
-
-
Save Feiron/131779f4991de917bdfd2ef6209f2bad to your computer and use it in GitHub Desktop.
[Контроль стрима файлов без авторизации] #nginx#centos#unix#linux
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| location /video { | |
| rewrite ^/video/(.*)$ /access.php?path=$1; | |
| aio on; | |
| directio 512; | |
| output_buffers 1 8m; | |
| } | |
| location /files { | |
| internal; | |
| root /mnt/media/upload; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment