Home Assistant Reversed Proxy Apache Ubuntu Server 20.04.1

Accessing Home Assistant through Apache, error “Unable to Connect to Home Assistant, Retry” reversed proxy (Opgelost door onderstaand config te plaatsen

  
  ServerAdmin admin@my.domain
  ServerName ha.my.domain
  
  SSLProxyEngine On
  SSLCertificateFile /var/lib/apache2/conf/cert/fullchain.pem
  SSLCertificateKeyFile /var/lib/apache2/conf/cert/privkey.pem
  SSLCertificateChainFile  /var/lib/apache2/conf/cert/chain.pem

  ProxyPreserveHost On
  ProxyRequests Off
  ProxyPass / http://ha_server_ip:8123
  ProxyPassReverse / http://ha_server_ip:8123
  ProxyPass /api/websocket ws://ha_server_ip:8123/api/websocket
  ProxyPassReverse /api/websocket ws://ha_server_ip:8123/api/websocket

  RewriteEngine on
  RewriteCond %{HTTP:Upgrade} =websocket [NC]
  RewriteRule /(.*)  ws://ha_server_ip:8123/$1 [P,l]
  RewriteCond %{HTTP:Upgrade} !=websocket [NC]
  RewriteRule /(.*)  http://ha_server_ip:8123/$1 [P,l]

APACHE – Redirect domain to subfolder to VirtualHost

Example

## www.domain.nl go to www.domain.nl/fiets
<LocationMatch "^/$">
   Redirect permanent "/" "/fiets/"
</LocationMatch>

ProxyPass / https://www.domain.nl/ retry=0
ProxyPassReverse / https://www.domain.nl/

#ProxyPass / https://www.domain.nl:8443/ retry=0
#ProxyPassReverse / https://www.domain.nl:8443/

First Look: We Go Hands on With Microsoft Edge for Linux

When Microsoft announced plans to rebase its Edge browser on Chromium the chance of a dedicated Linux build went from pipe-dream to inevitability.

Chromium’s cross-platform codebase makes it the ideal foundation on which to build out a modern web browser. Three years since rumours first began swirling, Microsoft Edge for Linux is not only confirmed but it’s almost ready for testing.

Being the impatient sort we installed the Microsoft Edge Developer build on Ubuntu 20.10. This post will stop short of being a “review” per se (you’ll hear throughout this post: this is not a stable build) but I’ve included lots of screenshots and some general thoughts about how well the browser integrates with the default Ubuntu desktops.

Microsoft Edge for Linux Developer Build

Microsoft Edge Dev for Linux
Lees verder

PXE Booting with WDS for UEFI and BIOS Devices

A lot of what I’m going to go through in this post I learned from this YouTube video from BranchCache Bob, here’s the video. There are some differences, which I’ll point out below.  

The Problem

You have multiple VLANs, and have a mixture of devices with BIOS and UEFI and need to boot them from the network using PXE from a WDS server.

Prerequisites

  • A Windows Deployment Server.
  • A Microsoft DHCP server (does not have to be running on the same server as WDS).
  • Have the DHCP server’s IP as a helper address on your network switch for each VLAN you want to boot.
Lees verder

Microsoft Edge for Linux Finally Has a Release Date

You won’t have to wait too much longer to try Microsoft Edge on Linux — a preview version of the browser will be available to download next month.

Microsoft only confirmed its plan to bring Edge to Linux desktops late last year and had thus-far remain tight-lipped about precisely when and how the browser would be made available to users of Linux distros like Ubuntu.

In blog post Microsoft reveal Linux users will be able to download a preview version of Edge for Linux from October. This is in keeping with their stated plan to release it ‘sometime in 2020.’

Microsoft CEO Satya Nadella reiterated the plan. Speaking at Microsoft Ignite Live he said: “We’re bringing Edge to Linux next month so we can now use it across every major platform, including Windows, macOS, iOS, Android, and Linux.”

Lees verder

KDE Plasma 5.20 Looks Like an Awesome Update

KDE developers are promising an ‘absolutely massive’ Plasma 5.20 release next month, so in this post we take a look what makes it such a major upgrade.

With the final stable KDE Plasma 5.20 release date is set for October 13, 2020 the KDE Plasma 5.20 beta is out for testing. It’s this development milestone that gives us our first proper look at what devs have planned for this desktop environment.

Do keep in mind that development is still underway and it’s possible that some of what’s featured here gets held back or tweaked before October.

If a notable change or improvement you know about isn’t in this list then let me know about it in the comments section below and I’ll try to add it in.

Lees verder