Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- location /slide {
- if (-f $request_filename) {
- expires 30d;
- break;
- }
- # this sends all non-existing file or directory requests to index.php
- if (!-e $request_filename) {
- rewrite ^/slide(.+)$ /slide/index.php?$1 last;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement