Created
May 19, 2011 20:31
-
-
Save prabirshrestha/981668 to your computer and use it in GitHub Desktop.
nuget server web.config
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"?> | |
| <!-- | |
| 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.0" /> | |
| <httpModules> | |
| <add name="ErrorLog" type="Elmah.ErrorLogModule, Elmah" /> | |
| </httpModules> | |
| <httpHandlers> | |
| <add verb="POST,GET,HEAD" path="elmah.axd" type="Elmah.ErrorLogPageFactory, Elmah" /> | |
| </httpHandlers> | |
| </system.web> | |
| <system.webServer> | |
| <validation validateIntegratedModeConfiguration="false" /> | |
| <modules runAllManagedModulesForAllRequests="true"> | |
| <add name="ErrorLog" type="Elmah.ErrorLogModule, Elmah" /> | |
| </modules> | |
| <handlers> | |
| <add name="Elmah" verb="POST,GET,HEAD" path="elmah.axd" type="Elmah.ErrorLogPageFactory, Elmah" /> | |
| </handlers> | |
| <staticContent> | |
| <mimeMap fileExtension=".nupkg" mimeType="application/zip" /> | |
| </staticContent> | |
| </system.webServer> | |
| <elmah> | |
| <errorLog type="Elmah.XmlFileErrorLog, Elmah" logPath="~/App_Data" /> | |
| </elmah> | |
| <system.serviceModel> | |
| <serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true" /> | |
| <services> | |
| <service name="NuGet.Server.DataServices.Packages"> | |
| <endpoint address="" binding="webHttpBinding" contract="System.Data.Services.IRequestHandler"/> | |
| </service> | |
| </services> | |
| </system.serviceModel> | |
| </configuration> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment