Skip to content

Instantly share code, notes, and snippets.

@yanburman
yanburman / nginxstaticssl.txt
Created July 11, 2019 12:18 — forked from c9pr3/nginxstaticssl.txt
NGINX with (other location) static openssl
Static linking a shared OpenSSL .a to NGINX 1.9.10 so far got me into some trouble so here we go.
(Found/Know a better way? Go tell me, I would appreciate it a lot! :-))
remove package libssl-dev before starting!
Get openssl, unpack to /tmp
# with-openssl= breaks it, therefor
mv /tmp/openssl /usr/pkg # yes, rename it. *dont* move it under pkg/
Get nginx, unpack to /tmp
@yanburman
yanburman / hosts
Last active May 12, 2017 09:43 — forked from consti/hosts
/etc/hosts to block shock sites etc.
# This hosts file is brought to you by Dan Pollock and can be found at
# http://someonewhocares.org/hosts/
# You are free to copy and distribute this file for non-commercial uses,
# as long the original URL and attribution is included.
#<localhost>
127.0.0.1 localhost
127.0.0.1 localhost.localdomain
255.255.255.255 broadcasthost
::1 localhost