25'ten fazla konu seçemezsiniz
Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.
|
- <?xml version="1.0" encoding="UTF-8"?>
- <configuration>
-
- <appSettings>
- <!--
- SQLite connection string (AxonASP ADODB layer: "sqlite:" prefix + file path).
- docker-compose.yml mounts the framework folder at /opt/axonasp/site, so db/ is /opt/axonasp/site/db.
- The file is created on first open if it does not exist.
- -->
- <add key="ConnectionString" value="sqlite:/opt/axonasp/site/db/app.sqlite" />
-
- <!-- Environment flag (Development / Staging / Production) -->
- <add key="Environment" value="Development" />
-
- <!-- Flash message display duration in milliseconds -->
- <add key="FlashMessageTimeout" value="3000" />
-
- <!-- 404 error page redirect countdown in seconds -->
- <add key="Error404RedirectSeconds" value="5" />
-
- <!-- Cache expiration year for static content -->
- <add key="CacheExpirationYear" value="2030" />
-
- <!-- Maximum characters to display in table cells before truncating -->
- <add key="TableCellMaxLength" value="90" />
-
- <!-- Character threshold for textarea vs input field in forms -->
- <add key="FormTextareaThreshold" value="100" />
-
- <!-- Enable error logging to file (true/false) -->
- <add key="EnableErrorLogging" value="false" />
-
- <!-- Error log file path (if EnableErrorLogging is true) -->
- <add key="ErrorLogPath" value="C:\YourApp\logs\errors.log" />
-
- <!-- Enable cache-busting for URLs and assets (true/false) -->
- <add key="EnableCacheBusting" value="false" />
-
- <!-- Cache-bust parameter name (default: "v") -->
- <add key="CacheBustParamName" value="v" />
-
- <!--
- Semantic retrieval (core/lib.Embeddings.asp). EmbeddingProvider "none" = lexical only.
- The ollama and qdrant services come from docker-compose.yml. Pull the model once:
- docker exec ollama ollama pull nomic-embed-text
- Changing the model or dimensions starts a new vector collection: run scripts\embed.cmd reindex.
- -->
- <add key="EmbeddingProvider" value="ollama" />
- <add key="EmbeddingUrl" value="http://ollama:11434" />
- <add key="EmbeddingModel" value="nomic-embed-text" />
- <add key="EmbeddingDimensions" value="768" />
- <add key="EmbeddingDocumentPrefix" value="search_document: " />
- <add key="EmbeddingQueryPrefix" value="search_query: " />
- <add key="EmbeddingMinScore" value="0.6" />
- <add key="VectorStoreUrl" value="http://qdrant:6333" />
- </appSettings>
-
- <system.webServer>
- <!-- Default document for the site root -->
- <defaultDocument>
- <files>
- <clear />
- <add value="Default.asp" />
- </files>
- </defaultDocument>
-
- <!-- URL Rewrite: send everything that is not an existing file/folder through Default.asp (RE2: no lookahead; the original path is passed as __route) -->
- <rewrite>
- <rules>
- <rule name="Rewrite to Default.asp" stopProcessing="true">
- <match url="^(.+)$" />
-
- <conditions>
- <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
- <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
- </conditions>
-
- <action type="Rewrite" url="/Default.asp?__route=/{R:1}" appendQueryString="true" />
- </rule>
- </rules>
- </rewrite>
- </system.webServer>
-
- </configuration>
|