12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697 |
- <?xml version="1.0" encoding="utf-8"?>
-
- <!--
- For more information on how to configure your ASP.NET application, please visit
- http://go.microsoft.com/fwlink/?LinkId=169433
- -->
-
- <configuration>
- <configSections>
- <sectionGroup name="elmah">
- <section name="security" requirePermission="false" type="Elmah.SecuritySectionHandler, Elmah"/>
- <section name="errorLog" requirePermission="false" type="Elmah.ErrorLogSectionHandler, Elmah"/>
- <section name="errorMail" requirePermission="false" type="Elmah.ErrorMailSectionHandler, Elmah"/>
- <section name="errorFilter" requirePermission="false" type="Elmah.ErrorFilterSectionHandler, Elmah"/>
- </sectionGroup>
- </configSections>
- <system.web>
- <compilation debug="true" targetFramework="4.5"/>
- <httpRuntime targetFramework="4.5" maxRequestLength="31457280"/>
- <httpModules>
- <add name="ErrorLog" type="Elmah.ErrorLogModule, Elmah"/>
- <add name="ErrorMail" type="Elmah.ErrorMailModule, Elmah"/>
- <add name="ErrorFilter" type="Elmah.ErrorFilterModule, Elmah"/>
- </httpModules></system.web>
-
- <system.webServer>
- <validation validateIntegratedModeConfiguration="false"/>
- <modules runAllManagedModulesForAllRequests="true">
- <add name="ErrorLog" type="Elmah.ErrorLogModule, Elmah" preCondition="managedHandler"/>
- <add name="ErrorMail" type="Elmah.ErrorMailModule, Elmah" preCondition="managedHandler"/>
- <add name="ErrorFilter" type="Elmah.ErrorFilterModule, Elmah" preCondition="managedHandler"/>
- </modules>
- <staticContent>
- <mimeMap fileExtension=".nupkg" mimeType="application/zip"/>
- </staticContent></system.webServer><elmah>
- <!--
- See http://code.google.com/p/elmah/wiki/SecuringErrorLogPages for
- more information on remote access and securing ELMAH.
- -->
- <security allowRemoteAccess="false"/>
- <errorLog type="Elmah.XmlFileErrorLog, Elmah" logPath="~/App_Data"/></elmah><location path="elmah.axd" inheritInChildApplications="false">
- <system.web>
- <httpHandlers>
- <add verb="POST,GET,HEAD" path="elmah.axd" type="Elmah.ErrorLogPageFactory, Elmah"/>
- </httpHandlers>
- <!--
- See http://code.google.com/p/elmah/wiki/SecuringErrorLogPages for
- more information on using ASP.NET authorization securing ELMAH.
-
- <authorization>
- <allow roles="admin"/>
- <deny users="*"/>
- </authorization>
- -->
- </system.web>
- <system.webServer>
- <handlers>
- <add name="ELMAH" verb="POST,GET,HEAD" path="elmah.axd" type="Elmah.ErrorLogPageFactory, Elmah" preCondition="integratedMode"/>
- </handlers>
- </system.webServer>
- </location><appSettings>
- <!--
- Determines if an Api Key is required to push\delete packages from the server.
- -->
- <add key="requireApiKey" value="true"/>
- <!--
- Set the value here to allow people to push/delete packages from the server.
- NOTE: This is a shared key (password) for all users.
- -->
- <add key="apiKey" value="Piko4242"/>
- <!--
- Change the path to the packages folder. Default is ~/Packages.
- This can be a virtual or physical path.
- -->
- <add key="packagesPath" value=""/>
- <!--
- Set allowOverrideExistingPackageOnPush to false if attempts to upload a package that already exists
- (same id and same version) should fail.
- -->
- <add key="allowOverrideExistingPackageOnPush" value="true"/>
- <!--
- Set enableDelisting to true to enable delist instead of delete as a result of a "nuget delete" command.
- - delete: package is deleted from the repository's local filesystem.
- - delist:
- - "nuget delete": the "hidden" file attribute of the corresponding nupkg on the repository local filesystem is turned on instead of deleting the file.
- - "nuget list" skips delisted packages, i.e. those that have the hidden attribute set on their nupkg.
- - "nuget install packageid -version version" command will succeed for both listed and delisted packages.
- e.g. delisted packages can still be downloaded by clients that explicitly specify their version.
- -->
- <add key="enableDelisting" value="false"/>
- <!--
- Set enableFrameworkFiltering to true to enable filtering packages by their supported frameworks during search.
- -->
- <add key="enableFrameworkFiltering" value="false"/>
- </appSettings><system.serviceModel>
- <serviceHostingEnvironment aspNetCompatibilityEnabled="true"/>
- </system.serviceModel></configuration>
|