Skip to content

Instantly share code, notes, and snippets.

View smirnov-o's full-sized avatar
😀
Life is good :))

Oleg Smirnov smirnov-o

😀
Life is good :))
  • Russia, Novosibirsk
View GitHub Profile
@smirnov-o
smirnov-o / nginx.conf
Created February 12, 2018 13:20 — forked from porozhnyy/nginx.conf
Laravel nginx http2 config
server {
listen 80;
server_name bb;
return 301 https://$host$request_uri;
}
server {
listen 443 ssl http2;
gzip on;
@include font-face(Samplino, fonts/Samplino);
Rendered as CSS:
@font-face {
font-family: "Samplino";
src: url("fonts/Samplino.eot?") format("eot"),
url("fonts/Samplino.woff2") format("woff2"),
url("fonts/Samplino.woff") format("woff"),
url("fonts/Samplino.ttf") format("truetype"),
url("fonts/Samplino.svg#Samplino") format("svg");
}