Skip to content

Instantly share code, notes, and snippets.

View mikelittle's full-sized avatar

Mike Little mikelittle

View GitHub Profile
@mikelittle
mikelittle / Nginx-snippet.conf
Created May 6, 2018 19:47
Proxy another WordPress site as a subdirectory
location /blog/ {
location ~ \.php$ {
rewrite ^/blog(.*) $1 break;
add_header X-url $1;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header Host $host;
proxy_pass https://127.0.0.1:8023;
}
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@mikelittle
mikelittle / Three Wise Monkeys.md
Last active June 26, 2022 10:22 — forked from malarkey/Three Wise Monkeys.md
Three Wise Monkeys (NDA)

Date: [date]

Between us [company name] and you [customer name].

Summary:

In short; neither of us will share any confidential information about each-other, by any means, with anyone else.

What’s confidential information?

@mikelittle
mikelittle / Contract Killer 3.md
Created April 12, 2016 15:11 — forked from malarkey/Contract Killer 3.md
The latest version of my ‘killer contract’ for web designers and developers

Contract Killer

The popular open-source contract for web professionals by Stuff & Nonsense

  • Originally published: 23rd December 2008
  • Revised date: March 15th 2016
  • Original post

server {
server_name example.com www.example.com;
return 301 https://example.com$request_uri;
listen 80;
root /var/www/example.com/htdocs;
}
server {
server_name example.com www.example.com;
listen 443 ssl spdy;

Keybase proof

I hereby claim:

  • I am mikelittle on github.
  • I am mikelittle (https://keybase.io/mikelittle) on keybase.
  • I have a public key whose fingerprint is 547A F6C7 6E27 F707 AD50 4525 6F74 CD9F 669F 2CE4

To claim this, I am signing this object: