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
# name this file as "startup.sh" and call it from "startup command" as "/home/startup.sh" | |
# check out my YouTube video "https://youtu.be/-PGhVFsOnGA" | |
cp /home/default /etc/nginx/sites-enabled/default | |
cp /home/php.ini /usr/local/etc/php/conf.d/php.ini | |
# install support for webp file conversion | |
apt-get update --allow-releaseinfo-change && apt-get install -y libfreetype6-dev \ | |
libjpeg62-turbo-dev \ |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<configuration> | |
<system.webServer> | |
<httpProtocol> | |
<customHeaders> | |
<add name="Access-Control-Allow-Headers" value="Origin, Content-Type, Authorization,X-Requested-With" /> | |
<add name="Access-Control-Allow-Methods" value="GET" /> | |
<add name="X-Download-Options" value="noopen" /> | |
<add name="X-Frame-Options" value="DENY" /> | |
<!-- if you need to allow same origin, comment above line and uncomment below line --> |