Initial setup
This commit is contained in:
commit
c54a127d37
|
@ -0,0 +1,4 @@
|
||||||
|
*.zo
|
||||||
|
*.dep
|
||||||
|
/staging/
|
||||||
|
/examples/
|
|
@ -0,0 +1,22 @@
|
||||||
|
## User object
|
||||||
|
|
||||||
|
endpoint: https://my.instance.tld/
|
||||||
|
|
||||||
|
required info
|
||||||
|
|
||||||
|
- username
|
||||||
|
- icon
|
||||||
|
- summary
|
||||||
|
- mentions: class="u-url mention"
|
||||||
|
- hashtagges: rel="tag"
|
||||||
|
|
||||||
|
generated info
|
||||||
|
- type: person
|
||||||
|
- name, preferredUsername
|
||||||
|
- pubkey
|
||||||
|
- inbox/sharedInbox
|
||||||
|
- outbox
|
||||||
|
- followers, following
|
||||||
|
- liked: null, featured: null
|
||||||
|
- contexts: activitystreams, security, as:Hashtag, as:sensitive, as:manuallyApprovesFollwers,
|
||||||
|
as:movedTo, toot, toot:Emoji, toot:focalPoint, toot:featured
|
|
@ -0,0 +1,5 @@
|
||||||
|
#!/usr/bin/env racket
|
||||||
|
#lang racket
|
||||||
|
; vim: ft=racket
|
||||||
|
|
||||||
|
(displayln "hello world")
|
|
@ -0,0 +1,38 @@
|
||||||
|
worker_processes 1;
|
||||||
|
error_log stderr;
|
||||||
|
daemon off;
|
||||||
|
pid nginx.pid;
|
||||||
|
|
||||||
|
events {
|
||||||
|
worker_connections 1024;
|
||||||
|
}
|
||||||
|
|
||||||
|
http {
|
||||||
|
include /etc/nginx/mime.types;
|
||||||
|
default_type application/octet-stream;
|
||||||
|
types_hash_max_size 4096;
|
||||||
|
types_hash_bucket_size 128;
|
||||||
|
|
||||||
|
sendfile on;
|
||||||
|
gzip on;
|
||||||
|
|
||||||
|
keepalive_timeout 65;
|
||||||
|
|
||||||
|
ssl_session_cache shared:le_nginx_SSL:10m;
|
||||||
|
ssl_session_timeout 1440m;
|
||||||
|
ssl_session_tickets off;
|
||||||
|
ssl_protocols TLSv1.2 TLSv1.3;
|
||||||
|
ssl_prefer_server_ciphers off;
|
||||||
|
ssl_ciphers "ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-SHA";
|
||||||
|
|
||||||
|
access_log /dev/stdout;
|
||||||
|
|
||||||
|
server {
|
||||||
|
listen 8080;
|
||||||
|
server_name localhost;
|
||||||
|
location / {
|
||||||
|
add_header content-type text/plain;
|
||||||
|
return 200 "hi";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,6 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
THIS_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"
|
||||||
|
PARENT_DIR="$(dirname $THIS_DIR)"
|
||||||
|
|
||||||
|
nginx -c "$THIS_DIR/nginx.conf" -p "$PARENT_DIR"
|
Loading…
Reference in New Issue