Skip to content

Instantly share code, notes, and snippets.

View ratacibernetica's full-sized avatar

Martín Roldán-Araujo ratacibernetica

View GitHub Profile
@dblazeski
dblazeski / nginx.conf
Created October 31, 2017 14:34
Nginx - Forces HTTPS redirect on all requests and strip WWW prefix
# Forces HTTPS redirect on all requests
server {
listen 80 default_server;
listen [::]:80 default_server;
server_name _;
return 301 https://$host$request_uri;
}
@eskema
eskema / static.html
Last active February 1, 2023 22:29
Nostr Static
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<title>Nostr Static</title>
<style>
article {
margin-bottom: 1rem;
border-top: 1px solid #999;
}