nginx / public fixes