Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- location /uploads/ {
- if ( $request_filename ~ "^(.*/)" ) {
- set $request_directory $1;
- }
- if ( -f "$request_directory/.wgaccess" ) {
- proxy_pass http://127.0.0.1:8081;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement