Gerador de Config Nginx
Rede e Operações · Ferramenta online gratuita
Gerar configs Nginx de proxy reverso/site estático.
Reverse-Proxy Locations
# nginx.conf — Generated by ez4code.com
gzip on;
gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript;
gzip_min_length 1024;
server {
listen 80;
listen 443 ssl;
server_name example.com;
ssl_certificate /etc/letsencrypt/live/example.com/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/example.com/privkey.pem;
ssl_protocols TLSv1.2 TLSv1.3;
root /var/www/example.com;
index index.html index.htm;
location /api/ {
proxy_pass http://127.0.0.1:3000;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
error_page 404 /404.html;
error_page 500 502 503 504 /50x.html;
}Server Block
Gera um server block completo pronto para sites-available.
Cabeçalhos de Reverse-Proxy
Cada local define Host, X-Real-IP, X-Forwarded-For e X-Forwarded-Proto.
TLS 1.2/1.3
Os blocos SSL usam por padrão protocolos TLS modernos.
Como usar Gerador de Config Nginx
- 1Enter the URL, IP address, or network parameter to look up.
- 2Click the lookup or test button.
- 3Review the detailed results in the output panel.
- 4Use the information for your network operations.
Recursos
- ✓100% gratuito — sem cadastro, sem assinatura, sem anúncios
- ✓Funciona inteiramente no navegador — seus dados nunca saem do seu dispositivo
- ✓Rápido e leve — resultados instantâneos
- ✓Multiplataforma — funciona em computador, tablet e celular
Perguntas frequentes
Are network lookups real-time?
Yes, IP lookups, DNS queries, and HTTP tests perform live network requests to provide current data.
Is my IP address logged?
The IP Lookup tool queries public geolocation APIs. We do not store your IP address or lookup history.
Why do geolocation results differ between providers?
Each provider maintains its own IP-to-location database with different update cycles and coverage. Treat any single result as an approximation, not an exact address.
Do the results reflect me if I use a proxy or VPN?
No. Results show the egress IP of the proxy or VPN you are connected through. Disconnect it if you need your real public IP.
Ferramentas relacionadas
Gerador de Docker Compose
Gerar docker-compose.yml visualmente.
Gerador de Dockerfile
Gerar modelos de Dockerfile por linguagem/runtime.
Gerador de .gitignore
Gerar modelos de .gitignore por seleção de linguagem/IDE.
Gerador de YAML CI/CD
Gerar modelos de pipeline GitHub Actions / GitLab CI.
Gerador de Arquivo .env
Gerenciar chave-valores para gerar .env e .env.example.
Consulta de IP
Consultar geolocalização de endereço IP e informações de ISP.
Calculadora de Sub-rede
Calcular detalhes de sub-rede IPv4 a partir de CIDR.
Consulta de DNS
Consultar registros DNS via Google DNS over HTTPS.