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
|
||||
</Location>
|
||||
|
||||
<Location "/api/v1/ws">
|
||||
AuthType None
|
||||
Require all granted
|
||||
</Location>
|
||||
|
||||
<Location "/static">
|
||||
AuthType None
|
||||
@@ -88,19 +84,22 @@ data:
|
||||
AllowEncodedSlashes NoDecode
|
||||
ProxyPreserveHost Off
|
||||
|
||||
RewriteEngine on
|
||||
RewriteCond %{REQUEST_URI} ^/socket.io [NC]
|
||||
RewriteCond %{QUERY_STRING} transport=websocket [NC]
|
||||
# RewriteEngine on
|
||||
# RewriteCond %{REQUEST_URI} ^/socket.io [NC]
|
||||
# RewriteCond %{QUERY_STRING} transport=websocket [NC]
|
||||
# RewriteRule ^/api/socket.io/(.*) wss://helm-immich-server:2283/$1 [P,L]
|
||||
|
||||
ProxyPass /api/socket.io/ wss://helm-immich-server:2283/api/socket.io/
|
||||
ProxyPassReverse /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/
|
||||
ProxyPass / http://helm-immich-server:2283/
|
||||
ProxyPassReverse / http://helm-immich-server:2283/
|
||||
# <Location "/api/socket.io/">
|
||||
# ProxyPass wss://helm-immich-server:2283/api/socket.io/
|
||||
# ProxyPassReverse wss://helm-immich-server:2283/api/socket.io/
|
||||
# </Location>
|
||||
RewriteEngine on
|
||||
RewriteCond %{HTTP:Upgrade} websocket [NC]
|
||||
RewriteCond %{HTTP:Connection} upgrade [NC]
|
||||
RewriteRule ^/?(.*) "ws://localhost:3000/$1" [P,L]
|
||||
|
||||
# must be bigger than pingInterval (25s by default) + pingTimeout (20s by default)
|
||||
ProxyTimeout 60
|
||||
ProxyRequests off
|
||||
|
||||
Header always set Access-Control-Allow-Origin "*"
|
||||
|
||||
Reference in New Issue
Block a user