feat: add user_id index to profiles table for faster lookups
The new index on the user_id column in the profiles table improves query performance for user-specific lookups, reducing full table scans during authentication and profile retrieval operations.
This commit is contained in:
@@ -69,6 +69,22 @@ server {
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
}
|
||||
|
||||
# Container ingress (/p/<slug>): proxies HTTP and WebSocket to a published
|
||||
# container service. Handles upgrade for WS and uses long timeouts.
|
||||
location /p/ {
|
||||
proxy_pass http://app;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection $connection_upgrade;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
proxy_buffering off;
|
||||
proxy_read_timeout 3600s;
|
||||
proxy_send_timeout 3600s;
|
||||
}
|
||||
|
||||
location / {
|
||||
proxy_pass http://app;
|
||||
proxy_set_header Host $host;
|
||||
|
||||
Reference in New Issue
Block a user