Let’s add the authenticated user ID to the NGINX access log for easier debugging.
Learn how to run Laravel WebSockets for deployment to Laravel Forge with SSL.
Guide on how to secure a NGINX vhost with a Let’s Encrypt certificate.
Since Chrome is soon dropping HTTP/2 via NPN we need to support HTTP/2 via ALPN, however… on Ubuntu 14.04 NGINX has been compiled with OpenSSL 1.0.1 which does not support ALPN :( So let’s fix that! First we need to upgrade OpenSSL, since that is not that easy to do ourselfs I use the package repository provided by Ondřej Surý for originally PHP but also includes a up-to-date OpenSSL package.
Sometimes you want to store the user id with the session so you can purge all sessions or even a single session creating a more secure system for your users, or maybe you want to see how many times a user is logged in. There are many use cases but it’s not possible by default… so let’s implement this nifty feature :) Note: this is not needed in Laravel 5.
Since this article I have bought a special domain for it and rebranded it to: Server Chief I manage a bunch of server, each week I have to SSH in each and every one of them to update packages, check their disk usage and do a bunch of maintenance stuff. This is a lot of work 🙁 So I thought, hey! This can be much easier if I had a tool that would SSH in for me and execute the commands for me and report the output back so I only have to login to servers that have errors and I can easily scan through the output (and look back at earlier executions to see if something has changed).
With dnsmanager.io you can easily manage the DNS records of all your domain names on an battle tested premium service. Domains can be easily (in bulk) created and edited with predefined templates or through our simple API (or using one of our integrations with for example Plesk as an extension). Our webinterface is multilangual (English and Dutch) and has 15 themes to choose from. It is also possible to use our whitelabel nameservers and reseller functionality to deliver our DNS service to your customers, with the API your customer can’t even tell we got your back.
FTP passive mode require some or all unprivileged (1024-65534) ports to be accessible by the world. By default Plesk does not add a rule for these ports, so passive mode does not work. To enable passive mode we need to edit the ProFTPD (FTP server used by Plesk) configuration. Edit the config file (located here: /etc/proftpd.conf) with your favorite shell editor (like nano or vim). Find the <global> section and add the following rule between the <global> and </global> tags:
About the Domain Checker for Windows Phone URI scheme.
What is new in version 2.0.0 of the Domain Checker Windows Phone app.
I ran in to this problem on my production server and was finally able to find a solution… in a KB from Plesk =]
Update: Plesk 12 supports multiple PHP versions out of the box! This post will cover the install of multiple PHP versions on Plesk 11.5. This is tested on a TransIP CentOS 6.4 x64 VPS with stock repos + EPEL & REMI. This is written for CentOS but with a bit of imagination this can also work on any other linux OS supported by Plesk. Requirements Host running Plesk 11.
Update: This application is now useless since they switched systems (finally :), leaving it here for nostalgic reasons. The The Hague University of Applied Sciences uses a very basic and hard to use (in the mobile world we live in) scheduling system. They generate very basic html pages with the schedule in it, however no way to see it nicely on our mobile phone or let alone in our calendars.