Fix nginx config and oauth.yml
This commit is contained in:
parent
d8eff9bdb8
commit
d4efd04825
@ -269,22 +269,12 @@ server {
|
||||
location ~* /migration {
|
||||
proxy_pass http://127.0.0.1:5034;
|
||||
}
|
||||
|
||||
location ~* /(clients|scopes) {
|
||||
proxy_pass http://127.0.0.1:9090;
|
||||
}
|
||||
}
|
||||
|
||||
location /api/clients {
|
||||
proxy_pass http://127.0.0.1:9090;
|
||||
|
||||
proxy_set_header X-API-Version 1;
|
||||
proxy_set_header X-Tenant 1;
|
||||
}
|
||||
|
||||
location /api/scopes {
|
||||
proxy_pass http://127.0.0.1:9090;
|
||||
|
||||
proxy_set_header X-API-Version 1;
|
||||
proxy_set_header X-Tenant 1;
|
||||
}
|
||||
|
||||
location /oauth2 {
|
||||
proxy_pass http://127.0.0.1:8080;
|
||||
}
|
||||
|
@ -3,7 +3,7 @@ version: "3.8"
|
||||
services:
|
||||
onlyoffice-oauth-authorization:
|
||||
build:
|
||||
context: ../../../common/ASC.OAuth
|
||||
context: ../../../server/common/ASC.OAuth
|
||||
dockerfile: ${OAUTH_AUTHORIZATION_DOCKERFILE}
|
||||
container_name: ${OAUTH_AUTHORIZATION_CONTAINER_NAME}
|
||||
restart: always
|
||||
@ -22,7 +22,7 @@ services:
|
||||
DOCSPACE_ADDRESS: ${DOCSPACE_ADDRESS}
|
||||
onlyoffice-oauth-api:
|
||||
build:
|
||||
context: ../../../common/ASC.OAuth
|
||||
context: ../../../server/common/ASC.OAuth
|
||||
dockerfile: ${OAUTH_API_DOCKERFILE}
|
||||
container_name: ${OAUTH_API_CONTAINER_NAME}
|
||||
ports:
|
||||
|
Loading…
Reference in New Issue
Block a user