This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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;"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3.8' | |
services: | |
nginx: | |
build: | |
dockerfile: ./docker/nginx.dockerfile | |
context: . | |
image: douglasq/nginx | |
container_name: nginx | |
ports: | |
- "80:80" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
listen <port>; | |
server_name <server>; | |
root <pathProject>; | |
index index.php index.html index.htm; | |
charset utf-8; | |
# Access Restrictions |