Update docs
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 900 660" width="900" height="660" role="img" aria-label="How visitor uploads work: the browser reaches the reverse proxy, which sends gallery requests to the read-only immich-public-proxy container and /upload requests to the optional immich-public-proxy-upload container. Both talk to Immich with the visitor's share key. Immich refuses uploads unless the share allows them, stores the file and adds it to the album or link.">
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 900 642" width="900" height="642" role="img" aria-label="How visitor uploads work: the browser reaches the reverse proxy, which sends gallery requests to the read-only immich-public-proxy container and /upload requests to the optional immich-public-proxy-upload container. Both talk to Immich with the visitor's share key. Immich refuses uploads unless the share allows them, stores the file and adds it to the album or link.">
|
||||||
<defs>
|
<defs>
|
||||||
<marker id="arrow" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="8" markerHeight="8" orient="auto-start-reverse">
|
<marker id="arrow" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="8" markerHeight="8" orient="auto-start-reverse">
|
||||||
<path d="M 0 0 L 10 5 L 0 10 z" fill="#5b6070"/>
|
<path d="M 0 0 L 10 5 L 0 10 z" fill="#5b6070"/>
|
||||||
@@ -9,7 +9,7 @@
|
|||||||
</defs>
|
</defs>
|
||||||
|
|
||||||
<!-- card -->
|
<!-- card -->
|
||||||
<rect x="0.5" y="0.5" width="899" height="659" rx="14" fill="#f7f8fc" stroke="#d9dce8"/>
|
<rect x="0.5" y="0.5" width="899" height="641" rx="14" fill="#f7f8fc" stroke="#d9dce8"/>
|
||||||
|
|
||||||
<g font-family="ui-sans-serif, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="13" fill="#2b2f3a">
|
<g font-family="ui-sans-serif, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif" font-size="13" fill="#2b2f3a">
|
||||||
|
|
||||||
@@ -25,14 +25,12 @@
|
|||||||
<text x="662" y="121" fill="#4250af" font-size="12">one POST per file</text>
|
<text x="662" y="121" fill="#4250af" font-size="12">one POST per file</text>
|
||||||
|
|
||||||
<!-- Reverse proxy -->
|
<!-- Reverse proxy -->
|
||||||
<rect x="60" y="130" width="780" height="54" rx="8" fill="#ffffff" stroke="#9aa0b4"/>
|
<rect x="60" y="130" width="780" height="40" rx="8" fill="#ffffff" stroke="#9aa0b4"/>
|
||||||
<text x="450" y="152" text-anchor="middle" font-size="14" font-weight="600">Your reverse proxy</text>
|
<text x="450" y="155" text-anchor="middle" font-size="14" font-weight="600">Your reverse proxy</text>
|
||||||
<text x="250" y="173" text-anchor="middle" fill="#5b6070" font-size="12">normal IPP requests</text>
|
|
||||||
<text x="650" y="173" text-anchor="middle" fill="#4250af" font-size="12">/upload/* (or its own hostname)</text>
|
|
||||||
|
|
||||||
<!-- Proxy to containers -->
|
<!-- Proxy to containers -->
|
||||||
<line x1="250" y1="184" x2="250" y2="218" stroke="#5b6070" stroke-width="1.5" marker-end="url(#arrow)"/>
|
<line x1="250" y1="170" x2="250" y2="218" stroke="#5b6070" stroke-width="1.5" marker-end="url(#arrow)"/>
|
||||||
<line x1="650" y1="184" x2="650" y2="218" stroke="#4250af" stroke-width="1.5" marker-end="url(#arrow-accent)"/>
|
<line x1="650" y1="170" x2="650" y2="218" stroke="#4250af" stroke-width="1.5" marker-end="url(#arrow-accent)"/>
|
||||||
|
|
||||||
<!-- IPP container -->
|
<!-- IPP container -->
|
||||||
<rect x="80" y="220" width="340" height="176" rx="10" fill="#ffffff" stroke="#9aa0b4"/>
|
<rect x="80" y="220" width="340" height="176" rx="10" fill="#ffffff" stroke="#9aa0b4"/>
|
||||||
@@ -70,13 +68,12 @@
|
|||||||
<text x="662" y="458" fill="#4250af" font-size="12" font-family="ui-monospace, Menlo, Consolas, monospace">POST /assets</text>
|
<text x="662" y="458" fill="#4250af" font-size="12" font-family="ui-monospace, Menlo, Consolas, monospace">POST /assets</text>
|
||||||
|
|
||||||
<!-- Immich -->
|
<!-- Immich -->
|
||||||
<rect x="60" y="490" width="780" height="104" rx="10" fill="#ffffff" stroke="#9aa0b4"/>
|
<rect x="60" y="490" width="780" height="86" rx="10" fill="#ffffff" stroke="#9aa0b4"/>
|
||||||
<text x="90" y="518" font-size="15" font-weight="700">Immich</text>
|
<text x="90" y="518" font-size="15" font-weight="700">Immich</text>
|
||||||
<text x="90" y="544">Refuses an upload unless <tspan font-weight="600">Allow public user to upload</tspan> is on for the share.</text>
|
<text x="90" y="544">Refuses an upload unless <tspan font-weight="600">Allow public user to upload</tspan> is on for the share.</text>
|
||||||
<text x="90" y="562">Stores the file as the owner's and adds it to the album or shared link.</text>
|
<text x="90" y="562">Stores the file as the owner's and adds it to the album or shared link.</text>
|
||||||
<text x="90" y="580">Makes the thumbnail. IPP shows the photo on its next cache refresh.</text>
|
|
||||||
|
|
||||||
<!-- Footer -->
|
<!-- Footer -->
|
||||||
<text x="450" y="632" text-anchor="middle" fill="#5b6070" font-size="12">Neither container holds an Immich API key, a database or a volume. Both use the visitor's own share key.</text>
|
<text x="450" y="614" text-anchor="middle" fill="#5b6070" font-size="12">Neither container holds an Immich API key, a database or a volume. Both use the visitor's own share key.</text>
|
||||||
</g>
|
</g>
|
||||||
</svg>
|
</svg>
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 6.2 KiB After Width: | Height: | Size: 5.9 KiB |
Reference in New Issue
Block a user