Last active
August 8, 2019 17:09
-
-
Save adampaulukanis/e16cf0872c47e18957bfc0fb356b5c11 to your computer and use it in GitHub Desktop.
/etc
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
interface "rum0" { | |
send host-name "www"; | |
fixed-address 192.168.1.123; | |
} |
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
nwid JESIOTRY | |
wpakey HASŁO | |
dhcp |
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
# $OpenBSD: httpd.conf,v 1.18 2018/03/23 11:36:41 florian Exp $ | |
server "default" { | |
listen on "192.168.1.123" port 80 | |
root "/htdocs/testowaStrona" | |
log syslog | |
} | |
server "jesiotry.ddns.net" { | |
listen on "192.168.1.123" port 80 | |
root "/htdocs/jesiotry.ddns.net" | |
log syslog | |
location "*.php" { | |
fastcgi socket "/run/php-fpm.sock" | |
} | |
} | |
# when you try to hit the web server using IP address | |
server "192.168.1.123" { | |
# only accessible from my localnetwork | |
listen on "192.168.1.123" port 80 | |
root "/htdocs" | |
log syslog | |
} | |
server "192.168.1.222" { | |
# upload server | |
listen on "192.168.1.222" port 80 | |
root "/htdocs/upload" | |
directory auto index | |
location "*.php" { | |
fastcgi socket "/run/php-fpm.sock" | |
} | |
connection { max request body 88388608 } | |
log syslog | |
} | |
server "*.*.*.*" { | |
# I do not know what is this all about and send them away ;-) | |
listen on "192.168.1.123" port 80 | |
block return 301 "http://google.pl?q=$REQUEST_URI" | |
log syslog | |
} |
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
/etc/X11/xorg.conf.d | |
/usr/distfiles | |
/usr/packages | |
/var/git |
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
Section "InputClass" | |
Identifier "system-keyboard" | |
Option "XkbLayout" "gb,pl" | |
Option "XkbOptions" "grp:caps_toggle" | |
EndSection |
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
Section "Extensions" | |
Option "DPMS" "true" | |
EndSection | |
Section "ServerLayout" | |
Identifier "ServerLayout0" | |
Option "StandbyTime" "10" | |
Option "SuspendTime" "20" | |
Option "OffTime" "30" | |
EndSection |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment