From 364c0ef0567f31ba4b4e406bf99d39c22fb5761a Mon Sep 17 00:00:00 2001 From: hael Date: Wed, 19 Nov 2025 09:04:23 +0000 Subject: [PATCH] Upload files to "/" --- awstats.conf | 4 + awstats.safebox.network.conf | 163 +++++++++++++++++++++++++++++++++++ 2 files changed, 167 insertions(+) create mode 100644 awstats.conf create mode 100644 awstats.safebox.network.conf diff --git a/awstats.conf b/awstats.conf new file mode 100644 index 0000000..0d45ac1 --- /dev/null +++ b/awstats.conf @@ -0,0 +1,4 @@ +location /awstats/ { + alias /var/www/localhost/htdocs/awstats/; + autoindex on; +} diff --git a/awstats.safebox.network.conf b/awstats.safebox.network.conf new file mode 100644 index 0000000..668b78c --- /dev/null +++ b/awstats.safebox.network.conf @@ -0,0 +1,163 @@ +# +# AWStats Configuration File +#--------------------------------------------------------------------- +# Copy this file to awstats.www.domain.conf and edit as needed. +#--------------------------------------------------------------------- + +LogFile="/var/log/nginx/access.log" +LogType=W +LogFormat=1 +LogSeparator=" " +SiteDomain="safebox.network" +HostAliases="localhost 127.0.0.1 REGEX[safebox\.network$]" +DNSLookup=1 + +DirData="/var/lib/awstats" +DirCgi="/usr/share/awstats/wwwroot/cgi-bin" +DirIcons="/usr/share/awstats/wwwroot/icon" + +AllowToUpdateStatsFromBrowser=0 + +BuildHistoryFormat=text +BuildReportFormat=html + +SaveDatabaseFilesWithPermissionsForEveryone=0 + +AllowAccessFromWebToAuthenticatedUsersOnly=0 +AllowAccessFromWebToFollowingAuthenticatedUsers="" +AllowAccessFromWebToFollowingIPAddresses="" + +SkipHosts="" +SkipUserAgents="" +SkipFiles="" +SkipReferrerSpam="" + +UseHTTPS=0 + +LoadPlugin="" +PluginDir="plugins" + +#----- +# GENERAL OPTIONS +#----- + +AllowFullYearView=2 + +EnableLockForUpdate=0 +EnableDnsLookup=2 + +NbOfLinesForCorruptedLog=50 + +OnlyFiles="" + +OnlyHosts="" +OnlyUserAgents="" + +ScanDatabasesForLinks=0 +DatabasesBackup=0 + +PurgeLogFile=0 +PurgeDataFiles=0 +PurgeDataFilesAfterInsert=0 + +KeepBackupOfHistoricFiles=1 + +DNSStaticCacheFile="" +DNSLastUpdateCacheFile="" + +AllowAccessToAuthenticatedUsersOnly=0 +AllowAccessToIPAddresses="" + +#----- +# LOG ANALYSIS +#----- + +LevelForBrowsersDetection=2 +LevelForOSDetection=2 +LevelForRefererAnalyze=2 +LevelForRobotsDetection=2 +LevelForSearchEnginesDetection=2 +LevelForKeywordsDetection=2 +LevelForFileTypesDetection=2 +LevelForWormsDetection=2 + +LevelForDomainLookup=2 + +#----- +# REPORT SETTINGS +#----- + +ShowHistoryStats=1 +ShowDomainsStats=1 +ShowHostsStats=1 +ShowAuthenticatedUsers=1 +ShowLoginHosts=1 +ShowRobotsStats=1 +ShowPagesStats=1 +ShowFileTypesStats=1 +ShowDownloadsStats=1 +ShowOSStats=1 +ShowBrowsersStats=1 +ShowScreenSizeStats=1 +ShowOriginStats=1 +ShowKeyphrasesStats=1 +ShowKeywordsStats=1 +ShowSessionsStats=1 +ShowErrorsStats=1 +ShowEmailsSent=1 +ShowSMTPErrors=1 +ShowHTTPErrors=1 + +ShowLinksOnUrl=1 +MaxNbOfDomainsShown=10 +MaxNbOfHostsShown=10 +MaxNbOfLoginShown=10 +MaxNbOfRobotShown=10 +MaxNbOfDownloadsShown=10 +MaxNbOfOSShown=10 +MaxNbOfBrowsersShown=10 +MaxNbOfScreenSizesShown=10 +MaxNbOfRefererShown=10 +MaxNbOfKeyphrasesShown=10 +MaxNbOfKeywordsShown=10 +MaxNbOfCountriesShown=10 +MaxNbOfCitiesShown=10 +MaxNbOfEmailSendersShown=10 +MaxNbOfSMTPShown=10 +MaxNbOfHTTPErrorsShown=10 +MaxNbOfWormsShown=10 + +IncludeInternalXfer=0 + +NotPageList="CSS PNG GIF JPG JPEG BMP SWF" + +ValidHTTPCodes="200 304" +ValidSMTPCodes="1 250 251 252" +WarnSMTPCodes="4" +ErrorSMTPCodes="5" +AuthenticatedUsersNotCaseSensitive=0 + +AddHTMLHeadSection="" +AddHTMLBodySection="" +ExtraSectionName1="" +ExtraSectionCodeFilter1="" +ExtraSectionFirstColumnTitle1="" +ExtraSectionFirstColumnValues1="" +ExtraSectionAddAverageRow1=0 +ExtraTrackedRowsLimit=500 + +#----- +# MISC +#----- + +Lang="auto" +WrapperScript="" +MiscTrackerUrl="" +UseLocalScript1="" +UseLocalScript2="" +UseLocalScript3="" + +DecodeUA=0 +DebugMessages=0 +DebugReset=0 +EnableImages=1