Seafile 12 with nginx npm in docker

I’m stuck with the installation of Seafile 12 with Docker and Nginx NPM as reverse-proxy.
I made changes to the YAML-files according this instrucktion:
https://manual.seafile.com/12.0/setup/use_other_reverse_proxy/#__tabbed_1_1
The certificate is okay.
This is my nginx.conf:

daemon off;
user www-data;
worker_processes auto;

events {
    worker_connections 10000;
}

http {
    include /etc/nginx/mime.types;
    server_names_hash_bucket_size 256;
    server_names_hash_max_size 1024;
    tcp_nopush on;
    tcp_nodelay on;
    keepalive_timeout 65;
    types_hash_max_size 2048;
    log_format seafileformat '$http_x_forwarded_for $remote_addr [$time_local] "$request" $status $body_bytes_sent "$http_referer" "$http_user_agent" $upstream_response_time';

    access_log off;
    error_log off;
    server_tokens off;

    gzip on;
    gzip_types  text/plain text/css application/javascript application/json text/javascript;

    include /etc/nginx/sites-enabled/*;
    
    server {
        listen 80;
        location / {
        proxy_pass http://192.168.178.141:80;
        proxy_read_timeout 310s;
        proxy_set_header Host $host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header Connection "";
        proxy_http_version 1.1;

        client_max_body_size 0;
}
    }

}

I am unsure about the server host address. I also tried 127.0.0.1 but that has no effect.

Actually, I ge tot the logon-page, when I connect with 192.168.178.141:8051. But I can not create a library or anything else.
From outside I get no connection.
It looks like a proxy problem to me.
I have always changed the nginx.conf in /etc/nginx. Is this the right one?
My configuration looks like this:nginx npm and seafile are on the same Docker host.
Can someone please provide a working nginx.conf?

So, right now, I have also access to seafile start page from outside my local network. The DNS Server was wrong configured.
So far so good.
Now I’m facing 2 problems:

  1. There is no Administration section in the right above section
  2. If I try to create a library, I get a message “failed create library”