Antora content not available with Nginx

I'm new with Antora and node.js, but my task is to deploy Antora Page with Pipeline. To deploy Antora went well, i have it where i wanted it, but with nginx the content is not available how i would like to have it...

So this is my rewrite.conf: cat /usr/share/nginx/html/.etc/nginx/rewrite.conf location = /index.html { return 301 /Documents/main/index.html; }

and i have configured nginx to show the index.html, but that's all, the other pages, referenced in nav.adoc are not reachable.

I followed the steps of the Antora Demo Project, but with different approach. My playbook:

site:
  title: Antora Demo Site
  # the 404 page and sitemap files only get generated when the url property is set...
  url: /
  start_page: main@Documents::index.adoc

So creating a gitlab page but i'm not using the absolute Url, i'm using relative Url to reach the content. This is the structure how things are generated: /usr/share/nginx/html $ ls Oct 24 16:48 index.html Oct 24 16:48 50x.html Jan 8 13:34 _ Jan 8 13:34 Documents

/usr/share/nginx/html $ /usr/share/nginx/html $ ls Documents/main/ Services index.html test1.html test2.html test3.html /usr/share/nginx/html $

My Nginx conf: server { listen 8080; server_name localhost; root /usr/share/nginx/html;

#access_log  /var/log/nginx/host.access.log  main;

location / {
    index  Documents/main/index.html index.htm;
}

location = /.etc/nginx/rewrite.conf {
    deny    all;
    return  404;
}

include /usr/share/nginx/html/.etc/nginx/rewrite.conf;

Assigning an absolute URL to the url key activates secondary features such as the sitemap and that's what i'm missing and maybe i just was heedless, but if i'm using relative url, that means i need to create _redirect for Gitlab? https://docs.gitlab.com/ee/user/project/pages/redirects.html

Thankyou for your support.