mietz

Comments

  • Solved! Just use Caddy: sudo caddy reverse-proxy --from https://switch.lan --to 192.168.10.10 --change-host-header It works out of the box, documantation is really good and configuration is dead simple. Bye bye nginx 👋
  • My best guess now is that the cookie isn't trasnimmted proberly, since after the login every GET Request is answered with:<script type="text/javascript"> \t\talert("If a user is logged in already, other users will not be able to access the webpage.");\n I tried, proxy_cookie_path / "/; HTTPOnly; Secure"; but that also…
  • I nailed it down to SSL. This works: #/etc/nginx/conf.d/switch.conf; server { listen 80; listen [::]:80; server_name switch.lan; auth_basic "Restricted Access!"; auth_basic_user_file /etc/nginx/.htpasswd; client_max_body_size 0; location / { proxy_pass http://192.168.10.10; include /etc/nginx/proxy.conf; } } I guess there…
Default Avatar