Seafile 6.2 mit nginx ohne fastcgi auf anderem Port

try this for nginx host:
location / {
proxy_pass http://127.0.0.1:8000;
proxy_set_header Host $host:‘yourport’; # thats what i did and it works
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;
proxy_http_version 1.1;

I’m running on port 8001, so ‘yourport’ is 8001 for me.

2 Likes