mirror of
https://github.com/rubenhensen/k8scd.git
synced 2026-09-17 02:12:55 +02:00
Immich: Update sol-auth httpd.conf cm 10
This commit is contained in:
+12
-13
@@ -75,10 +75,6 @@ data:
|
|||||||
Require all granted
|
Require all granted
|
||||||
</Location>
|
</Location>
|
||||||
|
|
||||||
<Location "/api/v1/ws">
|
|
||||||
AuthType None
|
|
||||||
Require all granted
|
|
||||||
</Location>
|
|
||||||
|
|
||||||
<Location "/static">
|
<Location "/static">
|
||||||
AuthType None
|
AuthType None
|
||||||
@@ -88,19 +84,22 @@ data:
|
|||||||
AllowEncodedSlashes NoDecode
|
AllowEncodedSlashes NoDecode
|
||||||
ProxyPreserveHost Off
|
ProxyPreserveHost Off
|
||||||
|
|
||||||
RewriteEngine on
|
# RewriteEngine on
|
||||||
RewriteCond %{REQUEST_URI} ^/socket.io [NC]
|
# RewriteCond %{REQUEST_URI} ^/socket.io [NC]
|
||||||
RewriteCond %{QUERY_STRING} transport=websocket [NC]
|
# RewriteCond %{QUERY_STRING} transport=websocket [NC]
|
||||||
# RewriteRule ^/api/socket.io/(.*) wss://helm-immich-server:2283/$1 [P,L]
|
# RewriteRule ^/api/socket.io/(.*) wss://helm-immich-server:2283/$1 [P,L]
|
||||||
|
|
||||||
ProxyPass /api/socket.io/ wss://helm-immich-server:2283/api/socket.io/
|
# ProxyPass /api/socket.io/ wss://helm-immich-server:2283/api/socket.io/
|
||||||
ProxyPassReverse /api/socket.io/ wss://helm-immich-server:2283/api/socket.io/
|
# ProxyPassReverse /api/socket.io/ wss://helm-immich-server:2283/api/socket.io/
|
||||||
ProxyPass / http://helm-immich-server:2283/
|
ProxyPass / http://helm-immich-server:2283/
|
||||||
ProxyPassReverse / http://helm-immich-server:2283/
|
ProxyPassReverse / http://helm-immich-server:2283/
|
||||||
# <Location "/api/socket.io/">
|
RewriteEngine on
|
||||||
# ProxyPass wss://helm-immich-server:2283/api/socket.io/
|
RewriteCond %{HTTP:Upgrade} websocket [NC]
|
||||||
# ProxyPassReverse wss://helm-immich-server:2283/api/socket.io/
|
RewriteCond %{HTTP:Connection} upgrade [NC]
|
||||||
# </Location>
|
RewriteRule ^/?(.*) "ws://localhost:3000/$1" [P,L]
|
||||||
|
|
||||||
|
# must be bigger than pingInterval (25s by default) + pingTimeout (20s by default)
|
||||||
|
ProxyTimeout 60
|
||||||
ProxyRequests off
|
ProxyRequests off
|
||||||
|
|
||||||
Header always set Access-Control-Allow-Origin "*"
|
Header always set Access-Control-Allow-Origin "*"
|
||||||
|
|||||||
Reference in New Issue
Block a user