Skip to content

Commit

Permalink
dont track .ssh, serve .ico, style improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
jmtatsch committed Sep 9, 2018
1 parent ac17a7e commit 987ead8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ etc/*.conf
etc/dropbear/dropbear_ecdsa_host_key
etc/lighttpd.pem
etc/TZ
.ssh/*
3 changes: 2 additions & 1 deletion etc/lighttpd.conf
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ mimetype.assign = (
".jpg" => "image/jpeg",
".png" => "image/png",
".css" => "text/css",
".js" => "text/javascript"
".js" => "text/javascript",
".ico" => "image/x-icon"
)
index-file.names = ( "index.html" )
server.modules = ("mod_auth",
Expand Down
4 changes: 2 additions & 2 deletions var/www/cgi-bin/action.cgi
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ echo "Pragma: no-cache"
echo "Cache-Control: max-age=0, no-store, no-cache"
echo ""

source ./func.cgi
source /usr/scripts/common_functions.sh
. ./func.cgi
. /usr/scripts/common_functions.sh

if [ -n "$F_cmd" ]; then
if [ -z "$F_val" ]; then
Expand Down

0 comments on commit 987ead8

Please sign in to comment.