Add serverip= config option to pin the domain to a LAN IP

The "unsupported protocol" failure was never about HTTPS: the Vita
resolved the public domain to the WAN IP, the router (no NAT loopback)
answered with its own admin page, and curl reported the resulting
HTTP/0.9 garbage as CURLE_UNSUPPORTED_PROTOCOL. serverip= pins the
hostname to the LAN IP via CURLOPT_RESOLVE, keeping Host/SNI intact
for the reverse proxy.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Sads
2026-06-12 00:07:08 +02:00
co-authored by Claude Fable 5
parent 73835fa2f6
commit bb137f2da9
4 changed files with 51 additions and 2 deletions
+2 -1
View File
@@ -11,7 +11,7 @@ endif()
project(vitaImmich C)
include("${VITASDK}/share/vita.cmake" REQUIRED)
set(VITA_APP_NAME "Vita Immich")
set(VITA_APP_NAME "Immich")
set(VITA_TITLEID "VIMM00001")
set(VITA_VERSION "01.00")
@@ -47,4 +47,5 @@ vita_create_self(${PROJECT_NAME}.self ${PROJECT_NAME})
vita_create_vpk(${PROJECT_NAME}.vpk ${VITA_TITLEID} ${PROJECT_NAME}.self
VERSION ${VITA_VERSION}
NAME ${VITA_APP_NAME}
FILE ${CMAKE_SOURCE_DIR}/assets/sce_sys/icon0.png sce_sys/icon0.png
)