Adding Arrays as Objects to an Array
Output Output
Setup LXD to obtain local IP on VirtualBox VM
Step 1: Configure VirtualBox VM Network Settings Apply the Netplan configuration with sudo netplan apply (this will briefly disconnect you if using SSH). Update the Profiles: “LXD UI > Profiles > default” “yaml” file as below.
Nginx load balancer setup
Edit the following file: /etc/nginx/nginx.conf
How to setup Django app on Cloud Panel
Run the following commands Directory Structure Create a new file as a root: /etc/uwsgi/apps-enabled/mypyapp.cc.uwsgi.ini Then add the below content to the file mypyapp.cc.uwsgi.ini Run uWsgi to debug: Start the uWsgi service Update the vhost file as below Add static files location in the Nginx config file mysqlclient-2.2.7.dist-info
Ubuntu – How to configure network bridges for LXD container to have their own local network IP
Open the netplan file on the host and update with below code : Apply changes to netplan Update the Profiles: “LXD UI > Profiles > default” “yaml” file as below.
Hide PHP information from HTTP header
Edit php.ini file
Hide Apache information from HTTP header
Add or Edit httpd.conf