WordPress: Insecure content behind reverse proxy/load balancer

When running WordPress behind a load balancer or reverse proxy, you may find that you’re getting lots of insecure content warnings in your browser. This may cause the page to load improperly, as all the content is not being delievered. Most reverse proxies and load balances will add an additional header to the request, allowing… Continue reading WordPress: Insecure content behind reverse proxy/load balancer

Updating npm on Windows

Felix Rieseberg of Microsoft has published a great tool which helps updating npm on windows platforms. The repo can be found hereĀ  It’s simple to use. Launch an elevated PowerShell, and then: Set-ExecutionPolicy Unrestricted -Scope CurrentUser -Force npm install -g npm-windows-upgrade npm-windows-upgrade   That’s it! As the readme of npm-update-windows suggests, make sure to checkout… Continue reading Updating npm on Windows

Adding X-Forwarded-For header logging on Apache for ISPConfig3

If you’re running your Apache with ISPConfig3 behind a reverse proxy or load balancer, you’ll probably want to log the X-Forwarded-For header, set by your reverse proxy/load balancer. If your setup sets a custom header, no worries, the method is the same. The LogFormatĀ format for ISPConfig3 with Apache is stored in /etc/apache2/sites-available/ispconfig.conf, the line looks… Continue reading Adding X-Forwarded-For header logging on Apache for ISPConfig3