misc folder and date on /video

This commit is contained in:
Pablo Ferreiro 2022-11-18 16:48:51 +01:00
parent 94da0e46ac
commit b138f4bccc
No known key found for this signature in database
GPG key ID: 41FBCE65B779FA24
11 changed files with 49 additions and 32 deletions

View file

@ -0,0 +1,15 @@
location / {
# try to serve file directly, fallback to rewrite
try_files $uri @rewriteapp;
}
location @rewriteapp {
# rewrite all to index.php
rewrite ^(.*)$ /index.php/$1 last;
}
location ~ ^/index\.php(/|$) {
try_files @heroku-fcgi @heroku-fcgi;
# ensure that /index.php isn't accessible directly, but only through a rewrite
internal;
}