Ported restricted resources to use nginx