Runn other websites beside seafile

Hi,
have someone a nginx configuration for seafile, where seafile is running directly in root and I can call any other website on a subfolder or a own subdomain?
Its really anoying to get some other website running on the same server.
Everytime I have to add the new folder by hand to the config file.

This is my nginx config for Seafile, maybe it will help you. I have Seafile running on a subdomain and have several other sites hosted with the same nginx instance:

/etc/nginx/sites-available/seafile

# Seafile configuration
#

log_format seafileformat '$http_x_forwarded_for $remote_addr [$time_local] "$request" $status $body_bytes_sent "$http_referer" "$http_user_agent" $upstream_response_time';

server {
        server_name mysubdomain.mydomain.com;
        proxy_set_header X-Forwarded-For $remote_addr;

        location / {
                proxy_pass http://localhost:8000;
                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 X-Forwarded-Host $server_name;
                proxy_read_timeout 1200s;
                client_max_body_size 0;
                access_log /var/log/nginx/seahub.access.log seafileformat;
                error_log /var/log/nginx/seahub.error.log;
        }

        location /seafhttp {
                rewrite ^/seafhttp(.*)$ $1 break;
                proxy_pass http://127.0.0.1:8082;
                client_max_body_size 0;
                proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
                proxy_connect_timeout 36000s;
                proxy_read_timeout 36000s;
                proxy_send_timeout 36000s;
                proxy_request_buffering off;
                send_timeout 36000s;

                access_log /var/log/nginx/seafhttp.access.log seafileformat;
                error_log /var/log/nginx/seafhttp.error.log;
        }

        location /media {
                root /your/seafile/installation/path/seafile-server-latest/seahub;

                access_log /var/log/nginx/media.access.log seafileformat;
                error_log /var/log/nginx/media.error.log;
        }
}

Hi,
thank you! I will try your config.

Best