• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Help moving from GoDaddy to NGINX server

#1
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

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

location /forum/internal_data/ {
    internal;
}
location /forum/library/ {
       internal;
}

location ~ \.php$ {
    try_files $uri =404;
    fastcgi_pass    127.0.0.1:9000;
    fastcgi_param   SCRIPT_FILENAME $document_root$fastcgi_script_name;
    include         fastcgi_params;
}