Open SENPAY98K opened 5 days ago
After setting up asf behind reverse proxy
Probably reverse proxy not proxying websocket correctly
I used the config provided in faq.
I used the config provided in faq.
Works for me.
I used the config provided in faq.
Works for me.
could you share you nginx config?
My config
server {
server_name asf.domain.com;
location /stm/ {
proxy_pass http://localhost:8888;
include proxy_params;
}
location /farm/ {
proxy_pass http://localhost:9999;
include proxy_params;
}
location ~* /Api/NLog {
proxy_pass http://localhost:$server_port;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Host $host:$server_port;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Server $host;
proxy_http_version 1.1;
proxy_set_header Connection "Upgrade";
proxy_set_header Upgrade $http_upgrade;
}
listen 443 ssl;
ssl_certificate /etc/letsencrypt/live/asf.domain.com/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/asf.domain.com/privkey.pem;
include /etc/letsencrypt/options-ssl-nginx.conf;
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem;
}
server {
if ($host = asf.domain.com) {
return 301 https://$host$request_uri;
}
server_name asf.domain.com;
listen 80;
return 404;
}
Checklist
ASF version
Latest stable release
ASF-ui version
9f5672d
Bug description
After setting up asf behind reverse proxy, logs are not showing in ipc. I have added a basepath
/farm
to result inasf.domain/farm/log
Expected behavior
Displaying logs in ipc > log tab in real time.
Actual behavior
Empty ipc log tab, even after loading previous n lines.
Steps to reproduce
No response
Possible reason/solution
Adding custom path in ipc config.
Can you help us with this bug report?
Yes, I can code the solution myself and send a pull request
Global ASF.json config file
No response
BotName.json config of all affected bot instances
No response
Additional info
No response