forgot one nginx reference

Signed-off-by: Stephon Parker <sgparker62@gmail.com>
This commit is contained in:
Stephon Parker 2024-08-13 10:42:53 -04:00
commit c2c136f148
No known key found for this signature in database

View file

@ -14,6 +14,7 @@ server {
location / { location / {
include /config/nginx/resolver.conf; include /config/nginx/resolver.conf;
include /config/nginx/proxy.conf;
proxy_pass http://seafile:8000; proxy_pass http://seafile:8000;
proxy_read_timeout 310s; proxy_read_timeout 310s;
proxy_set_header Host $host; proxy_set_header Host $host;
@ -29,6 +30,7 @@ server {
location /seafhttp { location /seafhttp {
include /config/nginx/resolver.conf; include /config/nginx/resolver.conf;
include /config/nginx/proxy.conf;
rewrite ^/seafhttp(.*)$ $1 break; rewrite ^/seafhttp(.*)$ $1 break;
proxy_pass http://seafile:8082; proxy_pass http://seafile:8082;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;