nginx client configuration & add simple js