MRtecno98
MRtecno98
CCoder.com
Created by MRtecno98 on 12/17/2022 in #help
Unexpected non-JSON response
thank you again :)
59 replies
CCoder.com
Created by MRtecno98 on 12/17/2022 in #help
Unexpected non-JSON response
k
59 replies
CCoder.com
Created by MRtecno98 on 12/17/2022 in #help
Unexpected non-JSON response
ah yeah then that's why
59 replies
CCoder.com
Created by MRtecno98 on 12/17/2022 in #help
Unexpected non-JSON response
probably, it's from the debian repos
59 replies
CCoder.com
Created by MRtecno98 on 12/17/2022 in #help
Unexpected non-JSON response
possibly websockets not liking some http versions?
59 replies
CCoder.com
Created by MRtecno98 on 12/17/2022 in #help
Unexpected non-JSON response
i have absolutely 0 idea why
59 replies
CCoder.com
Created by MRtecno98 on 12/17/2022 in #help
Unexpected non-JSON response
yep
59 replies
CCoder.com
Created by MRtecno98 on 12/17/2022 in #help
Unexpected non-JSON response
thank you
59 replies
CCoder.com
Created by MRtecno98 on 12/17/2022 in #help
Unexpected non-JSON response
lol
59 replies
CCoder.com
Created by MRtecno98 on 12/17/2022 in #help
Unexpected non-JSON response
it works
59 replies
CCoder.com
Created by MRtecno98 on 12/17/2022 in #help
Unexpected non-JSON response
i also tried restarting coder
59 replies
CCoder.com
Created by MRtecno98 on 12/17/2022 in #help
Unexpected non-JSON response
yes lol
59 replies
CCoder.com
Created by MRtecno98 on 12/17/2022 in #help
Unexpected non-JSON response
nope
59 replies
CCoder.com
Created by MRtecno98 on 12/17/2022 in #help
Unexpected non-JSON response
I added the map statement and also removed all the comments
59 replies
CCoder.com
Created by MRtecno98 on 12/17/2022 in #help
Unexpected non-JSON response
map $http_upgrade $connection_upgrade {
default upgrade;
'' close;
}

server {
listen 443 ssl default_server;
listen [::]:443 ssl default_server;

ssl_certificate /etc/nginx/ssl/mrtecno.tk/cert.pem;
ssl_certificate_key /etc/nginx/ssl/mrtecno.tk/key.pem;

server_name dev.mrtecno.tk;

location / {
proxy_pass http://127.0.0.1:3000;

proxy_pass_request_headers on;

proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $host;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
proxy_set_header Accept-Encoding gzip;
}
}
map $http_upgrade $connection_upgrade {
default upgrade;
'' close;
}

server {
listen 443 ssl default_server;
listen [::]:443 ssl default_server;

ssl_certificate /etc/nginx/ssl/mrtecno.tk/cert.pem;
ssl_certificate_key /etc/nginx/ssl/mrtecno.tk/key.pem;

server_name dev.mrtecno.tk;

location / {
proxy_pass http://127.0.0.1:3000;

proxy_pass_request_headers on;

proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $host;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
proxy_set_header Accept-Encoding gzip;
}
}
59 replies
CCoder.com
Created by MRtecno98 on 12/17/2022 in #help
Unexpected non-JSON response
sorry lol, i'll send the config in a minute
59 replies
CCoder.com
Created by MRtecno98 on 12/17/2022 in #help
Unexpected non-JSON response
oh yeah it did
59 replies
CCoder.com
Created by MRtecno98 on 12/17/2022 in #help
Unexpected non-JSON response
i don't think it said text/plain last time
59 replies
CCoder.com
Created by MRtecno98 on 12/17/2022 in #help
Unexpected non-JSON response
No description
59 replies
CCoder.com
Created by MRtecno98 on 12/17/2022 in #help
Unexpected non-JSON response
sorry totally didn't see that
59 replies