SHARE
TWEET

Untitled

a guest Sep 14th, 2017 72 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. location /slide {
  2.  
  3.             if (-f $request_filename) {
  4.                     expires 30d;
  5.                     break;
  6.                 }
  7.  
  8.                 # this sends all non-existing file or directory requests to index.php
  9.                 if (!-e $request_filename) {
  10.                         rewrite ^/slide(.+)$ /slide/index.php?$1 last;
  11.                 }
  12. }
RAW Paste Data
Top