Hagen's answer is a good one, but I thought I might point out something more general.
First pick $n$ primes. Let's say the first two. Now every prime number is coprime to both of these numbers. This means that we require
$$p \not\equiv_2 0$$
$$p \not\equiv_3 0$$
and consequently,
$$p \not\equiv_6 0,2,3,4$$
$$p \equiv_6 1 \text{ or } 5$$
We may extend this further to any number of primes that we choose. Let's pick $3$ primes instead now. $2 \cdot 3 \cdot 5 = 30$, so that will be the final modular base.
$$p \not\equiv_2 0$$
$$p \not\equiv_3 0$$
$$p \not\equiv_5 0$$
and consequently,
$$p \not\equiv_{30}0,2,3,4,5,6,8,9,10,12,14,15,16,18,20,21,22,24,25,26,27,28$$
$$p \equiv_{30} \quad\text{ one of } \quad 1,7,11,13,17,19,23,29$$
The same process may be followed not just for a choice of consecutive primes, but any choice of numbers at all. The modular base can be reduced to the lowest common multiple of the choice of numbers.
The most interesting cases I suppose are choices of two small primes, since these give small modular bases with many of the possibilities removed. The simplest case is $2,3$. It's kind of an extension to choosing just one prime, $2$, and saying that $p \equiv_2 1$.