Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

using bt panel but seafile css cannot display #2416

Open
aboymobi opened this issue Jan 6, 2021 · 0 comments
Open

using bt panel but seafile css cannot display #2416

aboymobi opened this issue Jan 6, 2021 · 0 comments

Comments

@aboymobi
Copy link

aboymobi commented Jan 6, 2021

I tried it in 2019 and I haven't been able to solve it

using this setting

#PROXY-START/
location ~* .(php|jsp|cgi|asp|aspx)$
{
proxy_pass http://127.0.0.1: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 REMOTE-HOST $remote_addr;
}

location /
{
proxy_pass http://127.0.0.1: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 REMOTE-HOST $remote_addr;

add_header X-Cache $upstream_cache_status;

#Set Nginx Cache

	add_header Cache-Control no-cache;
expires 12h;
        proxy_read_timeout  1200s;
    client_max_body_size 0;

}
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;
send_timeout 36000s;
}

location /media {
    root /www/wwwroot/seafile/seafile-server-latest/seahub;
}

#PROXY-END/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant