Fix organizr settings to fit v2.1

This commit is contained in:
Ofer Sadan 2023-06-20 12:07:01 +03:00 committed by GitHub
commit 58ae0bb14a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 24 additions and 2 deletions

View file

@ -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;

View file

@ -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;