- Install the Facebook SDK on your website.
<script>
window.fbAsyncInit = function() {
FB.init({
appId : '1678638095724206', // REPLACE IF YOU WANT TO USE YOUR OWN FB APP
autoLogAppEvents : true,
here |
<script>
window.fbAsyncInit = function() {
FB.init({
appId : '1678638095724206', // REPLACE IF YOU WANT TO USE YOUR OWN FB APP
autoLogAppEvents : true,
<?php | |
class AbanteCartValetDriver extends ValetDriver | |
{ | |
/** | |
* Determine if the driver serves the request. | |
* | |
* @param string $sitePath | |
* @param string $siteName | |
* @param string $uri |
One day in your Laravel app, you were required to redirect all http
requests to https
but need to make a certain URL route accessible via http
for a certain reason; perhaps a portion of your javascript code needs to redirect to http
URL but it can't because redirection to secure URL to insecure is prohibited. Therefore, in cases like this, you need to just allow just one URL to make an http
connection.
NOTE: There are obvious security implications here so don't just follow this blindly and understand if this is really the solution you're looking for. The nginx config can somehow be improved, I just don't have the time yet. It sure do look redundant.
http
to https
This guide is intended to walk you through installation of a valid SSL on your server for your site at example.com.
This example is using root
user, you may need to use sudo
if you encounter problems such as write permissions.
acme.sh
folder in your home directory and more importantly create an everyday cron job to check and renew certificates if needed.