Hi, I have a very weird problem and couldn't find anything about it. I set code-server up as to run through a nginx reverseproxy on a vm that also serves everything else I run. I changed self_signed_cert to no and changed the password, that's it. The config on the reverseproxy is as follows:
server {
listen 80;
listen [::]:80;
server_name code.my.domain.net;
return 301 https://$server_name:443$request_uri;
}
server {
listen 443 ssl;
listen [::]:443 ssl;
server_name code.my.domain.net;
# Use Mozilla's guidelines for SSL/TLS settings
# https://mozilla.github.io/server-side-tls/ssl-config-generator/
# NOTE: some settings below might be redundant
###SSL Config
include /etc/nginx/ssl.conf;
location / {
# include /etc/nginx/proxy.conf;
proxy_pass http://192.168.2.125:8500;
proxy_set_header Host $host;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection upgrade;
proxy_set_header Accept-Encoding gzip;
}
}
The problem I have is, whenever I try to access the site through firefox, I get prompted to download a tiny file, but don't get forwarded to the site. When I do this in firefox private mode, I get forwarded, but it seems to not work properly. For example I don't get the previews for the designs. In Edge, regardless of mode, I always get prompted to download the file. In Brave however everything seems to work as it should. I'm totally at a loss here. I also didn't find any hint in the log. Do you guys have any ideas? I've attached an example for such a tiny file and a recent docker log. If you need any other info please let me know.
GpsP1_ti
d8b806ed92f95d825a4e3c095d683e7000691c6dc4804a58c194887937518140-json.log