Nginx Config Generator
Network & Ops ยท Free Online Tool
Generate reverse proxy/static site Nginx configs.
Reverse-Proxy Locations
# nginx.conf โ Generated by codernewbie.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
Generates a full server block ready for sites-available.
Reverse-Proxy Headers
Each location sets Host, X-Real-IP, X-Forwarded-For, and X-Forwarded-Proto.
TLS 1.2/1.3
SSL blocks default to modern TLS protocols.
How to Use Nginx Config Generator
- 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.
Features
- โ100% free โ no signup, no subscription, no ads
- โRuns entirely in your browser โ data never leaves your device
- โFast and lightweight โ instant results
- โCross-platform โ works on desktop, tablet, and mobile
Frequently Asked Questions
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.
Related Tools
IP Lookup
Query IP address geolocation and ISP info.
Subnet Calculator
Calculate IPv4 subnet details from CIDR.
DNS Lookup
Query DNS records via Google DNS over HTTPS.
User-Agent Parser
Parse browser, OS, and device from UA string.
HTTP Status Codes
Reference for all HTTP status codes.
HTTP Request Tester
Send GET/POST/PUT/DELETE requests and inspect responses.
Learn the concept
Learn the concept
Understand the programming ideas behind this tool.