This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
# https://nginx.org/en/docs/http/ngx_http_referer_module.html | |
valid_referers server_names *.example.com; | |
if ($invalid_referer) { | |
return 403; | |
} | |
... | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<modification> | |
<id><![CDATA[Statically OpenCart Integration]]></id> | |
<version><![CDATA[2.4+]]></version> | |
<vqmver><![CDATA[1.0.0]]></vqmver> | |
<author><![CDATA[https://www.statically.io]]></author> | |
<file name="system/library/response.php"> | |
<operation> | |
<search position="replace"><![CDATA[echo $output;]]></search> | |
<add><![CDATA[echo $this->cdn_output($output);]]></add> | |
</operation> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SS_ENDPOINT = "https://cdn.statically.io/s/"; | |
DOMAIN = window.location.hostname; | |
PATH = window.location.pathname; | |
window.open(SS_ENDPOINT + DOMAIN + PATH); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set ts=2 sw=2 cc=80 expandtab number noswapfile | |
colorscheme delek |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<p>Test starting.. Redirecting to GitHub..</p> | |
<script>document.location.replace('/gh/fransallen/staticaly-platform-test/master/github.html')</script> | |
<noscript><meta http-equiv="refresh" content="0; URL='/gh/fransallen/staticaly-platform-test/master/github.html'"></noscript> |