auto update repo

This commit is contained in:
ddadmin 2026-02-03 15:23:01 +03:00
parent 49a285c79b
commit e350f84afa
2 changed files with 11 additions and 0 deletions

View File

@ -90,6 +90,17 @@ server {
proxy_pass http://centrifugo;
}
location /socket.io/auctionreload {
access_log /var/log/nginx/ws_access.log json;
error_log /var/log/nginx/ws_error.log;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $connection_upgrade;
proxy_set_header Host $host;
proxy_pass http://php-socket:8080/;
}
location ~ ^/index\.php(/|$) {
if ($request_method = 'OPTIONS') {
add_header 'Access-Control-Allow-Origin' $http_origin;