mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2025-08-22 06:13:49 -07:00
Fix organizr settings to fit v2.1
This commit is contained in:
parent
947af5c9e5
commit
58ae0bb14a
2 changed files with 24 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
## Version 2023/05/31
|
||||
## Version 2023/06/20
|
||||
# make sure that your organizr container is named organizr
|
||||
# make sure that your dns has a cname set for organizr
|
||||
|
||||
|
@ -44,6 +44,17 @@ server {
|
|||
|
||||
}
|
||||
|
||||
location ~ ^/api/v2/ {
|
||||
|
||||
include /config/nginx/proxy.conf;
|
||||
include /config/nginx/resolver.conf;
|
||||
set $upstream_app organizr;
|
||||
set $upstream_port 80;
|
||||
set $upstream_proto http;
|
||||
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
|
||||
|
||||
}
|
||||
|
||||
# Optional redirect server errors to organizr error pages
|
||||
#error_page 400 402 403 404 405 408 500 502 503 504 $scheme://$host/?error=$status;
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
## Version 2023/02/05
|
||||
## Version 2023/06/20
|
||||
# make sure that your organizr container is named organizr
|
||||
# In order to use this location block you need to edit the default file one folder up and comment out the / and ~ \.php$ locations
|
||||
|
||||
|
@ -25,5 +25,16 @@ location / {
|
|||
|
||||
}
|
||||
|
||||
location ~ ^/api/v2/ {
|
||||
|
||||
include /config/nginx/proxy.conf;
|
||||
include /config/nginx/resolver.conf;
|
||||
set $upstream_app organizr;
|
||||
set $upstream_port 80;
|
||||
set $upstream_proto http;
|
||||
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
|
||||
|
||||
}
|
||||
|
||||
# Optional redirect server errors to organizr error pages
|
||||
#error_page 400 402 403 404 405 408 500 502 503 504 $scheme://$host/?error=$status;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue