Best way to redirect mysite.com to forums.mysite.com/landing?

@Lilly Would it be possible to move the forums entirely to the base domain name? So that mysite.com would just be the forums?

Also, I already have an A record that points to my VPS’ IP, where the forums are hosted. So do I now forward my base domain’s URL to that IP or keep it as forums.mysite.com? I’d mostly likely just CNAME my mysite.com to the A record of forums.mysite.com, right?

Is this correctly done? I want to forward mysite.me to forums.mysite.me/landing

  after_web_config:
    - replace:
        filename: /etc/nginx/nginx.conf
        from: /sendfile.+on;/
        to: |
          server_names_hash_bucket_size 64;
          sendfile on;
    - file:
        path: /etc/nginx/conf.d/forumsredirect.conf
        contents: |
          server {
            listen 80;
            server_name mysite.me;
            return 301 $scheme://forums.mysite.me/landing$request_uri;
          }