Skip to content

Instantly share code, notes, and snippets.

View luissquall's full-sized avatar

Luis Ramos luissquall

View GitHub Profile
@luissquall
luissquall / restheart-default.properties
Created May 20, 2022 20:59
RESTHeart default Configuration properties
# RESTHeart default Configuration properties
## See: https://restheart.org/docs/configuration/
instance-name: default
## HTTP listener
http-listener = true
http-host = 0.0.0.0
http-port = 8080
server {
listen [::]:443 ssl;
listen 443 ssl;
server_name {{ domain }};
ssl_certificate /etc/letsencrypt/live/{{ domain }}/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/{{ domain }}/privkey.pem;
include /etc/letsencrypt/options-ssl-nginx.conf;
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem;
server {
listen 80;
listen [::]:80;
server_name {{ domain }};
client_max_body_size 10M;
root {{ webroot }};
index index.php index.html index.htm;
server {
listen 80;
listen [::]:80;
server_name {{ domain }};
client_max_body_size 10M;
root {{ webroot }};
index index.html index.htm;

Keybase proof

I hereby claim:

  • I am luissquall on github.
  • I am luissquall (https://keybase.io/luissquall) on keybase.
  • I have a public key ASAxnWAeiWYjoeejQ0upQEIe1XS0q47JuBr4cYRjMW2k_wo

To claim this, I am signing this object:

@luissquall
luissquall / dabblet.css
Created October 13, 2016 17:02 — forked from LeaVerou/dabblet.css
Flexible browser frame with a tiny (4KB) image and 15 lines of CSS
/**
* Flexible browser frame with a tiny (4KB) image and 15 lines of CSS
*/
.browser {
position: relative;
width: fit-content;
border-radius: 5px;
overflow: hidden;
box-shadow: 0 20px 80px rgba(0,0,0,.6);
# http://spin.atomicobject.com/2014/05/12/openssl-commands/
[ req ]
prompt = no
default_bits = 2048
default_md = sha256
encrypt_key = no
string_mask = utf8only
distinguished_name = req_distinguished_name
# Section x509_ext is used when generating a self-signed certificate. I.e., openssl req -x509
x509_extensions = x509_ext
<VirtualHost *:80>
ServerName {{ domain }}
ServerAdmin luissquall@gmail.com
DocumentRoot "{{ webroot }}"
<Directory "{{ webroot }}">
Options FollowSymLinks
AllowOverride All
Order allow,deny
allow from all
# http://spin.atomicobject.com/2014/05/12/openssl-commands/
[ req ]
prompt = no
default_bits = 2048
encrypt_key = no
distinguished_name = req_distinguished_name
string_mask = utf8only
#req_extensions = v3_req
server {
listen 80;
listen [::]:80;
server_name {{ domain }};
#client_max_body_size 10M;
access_log /var/log/nginx/{{ domain }}.access.log;
error_log /var/log/nginx/{{ domain }}.error.log;