Fixed database locales and fixed nginx disable order