Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <configuration>
- <system.webServer>
- <handlers>
- <add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModule" resourceType="Unspecified" />
- </handlers>
- <aspNetCore processPath="dotnet" arguments=".\Website.dll" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" />
- </system.webServer>
- <location path="assets" inheritInChildApplications="true" >
- <system.webServer>
- <httpProtocol>
- <customHeaders>
- <remove name="Cache-Control" />
- <add name="Cache-Control" value="public, max-age=1296000,max-age=31536000" />
- <!-- the respond: no-store, must-revalidate, no-cache, public, max-age=1296000,max-age=31536000 -->
- </customHeaders>
- </httpProtocol>
- </system.webServer>
- </location>
- </configuration>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement