Help moving from GoDaddy to NGINX server

I'm having issues with Godaddy hosting and am going to move to an NGINX server that I use for another site of mine. This is the first forum I'm migrating there, and since they won't do the rewrite rules for me, I need to provide them.

Knowing nothing about server configuration, I've been searching the forums for answers. Please let me know if I'm on the right track:

The following is the code I found in the XenForo help section. Is this the only thing I need to provide my host for an out-of-the-box install migration? I'm just not sure if that covers everything that's in the original htaccess file. Thank you

location /forum/ {
    try_files $uri $uri/ /xf/index.php?$uri&$args;
    index index.php index.html;

location /forum/internal_data/ {
location /forum/library/ {

location ~ \.php$ {
    try_files $uri =404;
    fastcgi_param   SCRIPT_FILENAME $document_root$fastcgi_script_name;
    include         fastcgi_params;