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.