blob: 87ac1b7e9cf08ca9c199923fbb1cd33294e48129 (
plain) (
tree)
|
|
<?py for board in set().union(global_boards, board_bans.keys()): ?>
location /#{board}/ {
<?py if board in global_boards: ?>
if ($bans_global) { rewrite ^ /cgi/banned; }
<?py #endif ?>
<?py if board in board_bans: ?>
if ($bans_#{board}) { rewrite ^ /cgi/banned/#{board}; }
<?py #endif ?>
}
<?py #endfor ?>
|