mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2025-08-22 06:13:49 -07:00
forgot one nginx reference
Signed-off-by: Stephon Parker <sgparker62@gmail.com>
This commit is contained in:
parent
928a30cfee
commit
c2c136f148
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue