Skip to content

Instantly share code, notes, and snippets.

spamguy

  • East Palo Alto, CA
Block or report user

Report or block spamguy

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@spamguy
spamguy / diplicity.conf
Created Jan 6, 2017
An HTTPS reverse proxy configuration for Diplicity.
View diplicity.conf
server {
listen 3000 ssl;
listen [::]:3000;
error_log /usr/local/var/log/nginx/error.log;
access_log /usr/local/var/log/nginx/access.log;
# Google DNS, Open DNS, Dyn DNS
resolver 8.8.8.8 8.8.4.4 208.67.222.222 208.67.220.220 216.146.35.35 216.146.36.36 valid=300s;
resolver_timeout 3s;
@spamguy
spamguy / dipl.io.conf
Last active Oct 25, 2019
An nginx configuration featuring HTTP/2, IPv6, Let's Encrypt SSL, and a decent cipher suite
View dipl.io.conf
server {
listen 80 default_server;
listen [::]:80 default_server ipv6only=on;
server_name www.dipl.io dipl.io;
return 301 https://dipl.io$request_uri;
}
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
You can’t perform that action at this time.