Jump to content

Cathnan

Members
  • Posts

    6
  • Joined

  • Last visited

Posts posted by Cathnan

  1. 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

  2. I tried to set up pi-hole in a docker for which the interface  custom:br0 is necessary. But it is not available for me. I've searched the forum and googled for it, so I know I'm not the first one with this problem. But the solutions that worked for others for some reason don't work for me. From all I can tell I've set everything up correctly - although presumably I have not, since it doesn't work. I also tried this command I found on the forum to no avail

    rm /var/lib/docker/network/files/local-kv.db
    /etc/rc.d/rc.docker restart

     

    My config are as follows:

    grafik.thumb.png.ea396ffbde9f7e55a076f51f931008c3.png

     

    grafik.thumb.png.edc33ab4bd6396bbb9e9f574a9631b86.png

     

    I don't have any other network cards in my server, so interference on that side can't be it. Can anyone tell me what is wrong in this config?

×
×
  • Create New...