Quick guide to set it from 2 (default) to 3 via the console:
cd /var/discourse/
./launcher enter app
rails c
read current value:
[1] pry(main)> SiteSetting.max_category_nesting
=> 2
write new value:
[2] pry(main)> SiteSetting.max_category_nesting = 3
=> 3