Update reverse proxy settings for import service to use correct API endpoint
This commit is contained in:
+2
-2
@@ -76,7 +76,7 @@ import.gynther.se {
|
|||||||
@blocked path_regexp ^/(\.env|\.git|wp-login|robots\.txt|api/graphql|actuator/env|\.DS_Store|file6\.php|wp-.*\.php)$
|
@blocked path_regexp ^/(\.env|\.git|wp-login|robots\.txt|api/graphql|actuator/env|\.DS_Store|file6\.php|wp-.*\.php)$
|
||||||
respond @blocked 403
|
respond @blocked 403
|
||||||
|
|
||||||
reverse_proxy recipe-import-service:3000
|
reverse_proxy importer-api:3001
|
||||||
}
|
}
|
||||||
|
|
||||||
# ============================================
|
# ============================================
|
||||||
@@ -88,7 +88,7 @@ recept.gynther.se {
|
|||||||
# === IMPORT SERVICE (Document Converter) ===
|
# === IMPORT SERVICE (Document Converter) ===
|
||||||
# Dessa endpoints måste komma FÖRST innan backend reglerna!
|
# Dessa endpoints måste komma FÖRST innan backend reglerna!
|
||||||
handle /api/recipes/import* {
|
handle /api/recipes/import* {
|
||||||
reverse_proxy recipe-import-service:3000
|
reverse_proxy importer-api:3001
|
||||||
}
|
}
|
||||||
|
|
||||||
# === RECIPE FRONTEND PROXY ENDPOINTS ===
|
# === RECIPE FRONTEND PROXY ENDPOINTS ===
|
||||||
|
|||||||
Reference in New Issue
Block a user