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
--- | |
- hosts: all | |
tasks: | |
- ufw: rule=allow port={{ item.port }} proto={{ item.proto }} | |
with_items: | |
- { port: 22, proto: tcp } | |
- { port: 80, proto: tcp } | |
- { port: 8080, proto: tcp } | |
- { port: 1953, proto: tcp } | |
- ufw: policy=deny state=enabled |
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"?> | |
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |
<Target Name="NotifyRollbarOfDeploy" AfterTargets="MSDeployPublish;CopyAllFilesToSingleFolderForPackage"> | |
<XmlPeek XmlInputPath="$(_PackageTempDir)\web.config" | |
Query="//appSettings/add[@key='Rollbar.AccessToken']/@value"> | |
<Output TaskParameter="Result" ItemName="RollbarAccessToken" /> | |
</XmlPeek> | |
<XmlPeek XmlInputPath="$(_PackageTempDir)\web.config" | |
Query="//appSettings/add[@key='Rollbar.Environment']/@value"> | |
<Output TaskParameter="Result" ItemName="RollbarEnvironment" /> |
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> | |
<httpErrors errorMode="Detailed" /> | |
<asp scriptErrorSentToBrowser="true" /> | |
<rewrite> | |
<rules> | |
<rule name="Block text files" stopProcessing="true"> |
NewerOlder