Skip to content

Instantly share code, notes, and snippets.

@upekshapriya
upekshapriya / live.html
Created May 17, 2018
YouTube video background displays in Preview but not live in CMP - Coming Soon & Maintenance Plugin by NiteoThemes https://wordpress.org/support/topic/youtube-video-overlay-displays-in-preview-but-not-live/
View live.html
<!DOCTYPE html>
<html lang="en-GB">
<head>
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Raleway:700%7CRaleway:100,100i" /><meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Maintenance page">
<title>Clear Vision Trust is down for maintenance</title>
<link id="favicon" rel="shortcut icon" href="https://clearvisiontrust.org/wp-content/uploads/2016/10/Clear-Vision-Trust-10-150x150.png" type="image/x-icon"/>
<link rel="stylesheet" href="https://clearvisiontrust.org/wp-content/cache/min/1/wp-content/plugins/cmp-coming-soon-maintenance/themes/hardwork/style-63dff76961d316dd004616029f3fbf02.css" data-minify="1" type="text/css" media="all">
View com.fix.local.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.fix.local</string>
<key>ProgramArguments</key>
<array>
<string>/usr/sbin/discoveryutil</string>
<string>mdnsactivedirectory</string>
View .nginx-config
server {
listen 80 default_server;
server_name clearvisiontrust.com *.clearvisiontrust.com;
root /srv/www/clearvisiontrust.com/public;
access_log /srv/www/clearvisiontrust.com/log/access.log;
error_log /srv/www/clearvisiontrust.com/log/error.log;
location / {
index index.php;