Код: Выделить всё
pusher error: The POST method is not supported for route apps/387120/events. Supported methods: GET, HEAD.Нет правильной маршрутизации, только что если я использую:
Laravel 11, Livewire 3 && Reverb
Я использую VPS с панелью HestiaCP.
.env
Код: Выделить всё
REVERB_APP_ID=387120
REVERB_APP_KEY=uxbvxeoyb3kuhkcsi1cm
REVERB_APP_SECRET=j6vuzgbu74asbwjwuxhy
REVERB_HOST="domena.pl"
REVERB_PORT=443
REVERB_SCHEME=https
VITE_REVERB_APP_KEY="${REVERB_APP_KEY}"
VITE_REVERB_HOST="${REVERB_HOST}"
VITE_REVERB_PORT="${REVERB_PORT}"
VITE_REVERB_SCHEME="${REVERB_SCHEME}"
REVERB_SERVER_HOST=0.0.0.0
REVERB_SERVER_PORT=8181
Код: Выделить всё
listen 443 ssl http2;
listen [::]:443 ssl http2;
proxy_http_version 1.1;
proxy_set_header Host $http_host;
proxy_set_header Scheme $scheme;
proxy_set_header SERVER_PORT $server_port;
proxy_set_header REMOTE_ADDR $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
proxy_pass http://0.0.0.0:8181;
Изменение порта на 8181 и добавление SSL.>
Подробнее здесь: https://stackoverflow.com/questions/784 ... ute-apps-3
Мобильная версия