Skip to content

Instantly share code, notes, and snippets.

View DevserIgor's full-sized avatar

Igor Silva DevserIgor

View GitHub Profile
@DevserIgor
DevserIgor / infobip.postman_collection.json
Created September 21, 2021 23:24
Collections para integração envio sms Algar
{
"info": {
"_postman_id": "e3e433e5-ba3e-4ee1-82e3-55cf76030f97",
"name": "Infobip",
"description": "coleção api infobip",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
"name": "disparo simples",
@DevserIgor
DevserIgor / nginc.conf-docker-example
Last active August 26, 2021 01:01
nginc.conf-docker-example
worker_processes 4;
events { worker_connections 1024; }
http {
proxy_cache_path /var/cache/nginx levels=1:2 keys_zone=one:8m max_size=3000m inactive=600m;
proxy_temp_path /var/tmp;
include mime.types;
default_type application/octet-stream;
sendfile on;
@DevserIgor
DevserIgor / nginx.dockerfile-example
Last active August 26, 2021 01:01
nginx.dockerfile-example
FROM nginx:latest
MAINTAINER Douglas Quintanilha
COPY /public /var/www/public
COPY /docker/config/nginx.conf /etc/nginx/nginx.conf
RUN chmod 755 -R /var/www/public
EXPOSE 80 443
ENTRYPOINT ["nginx"]
# Parametros extras para o entrypoint
CMD ["-g", "daemon off;"]
@DevserIgor
DevserIgor / docker-compose-example.yml
Last active August 26, 2021 01:02
docker-compose-example
version: '3.8'
services:
nginx:
build:
dockerfile: ./docker/nginx.dockerfile
context: .
image: douglasq/nginx
container_name: nginx
ports:
- "80:80"
@DevserIgor
DevserIgor / .conf
Created August 21, 2021 14:15
october-vh-nginx.conf
server {
listen <port>;
server_name <server>;
root <pathProject>;
index index.php index.html index.htm;
charset utf-8;
# Access Restrictions