Skip to content
🔧

Nginx Config 생성기

네트워크 및 운영 · 무료 온라인 도구

역방향 프록시/정적 사이트 Nginx 구성 생성.

CoderNewbie 팀

Reverse-Proxy Locations

nginx.conf
# 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;
}

서버 블록

sites-available에 바로 사용할 수 있는 전체 서버 블록을 생성합니다.

리버스 프록시 헤더

각 위치는 Host, X-Real-IP, X-Forwarded-For 및 X-Forwarded-Proto를 설정합니다.

TLS 1.2/1.3

SSL 블록은 기본적으로 현대 TLS 프로토콜을 사용합니다.

Nginx Config 생성기 사용 방법

  1. 1Enter the URL, IP address, or network parameter to look up.
  2. 2Click the lookup or test button.
  3. 3Review the detailed results in the output panel.
  4. 4Use the information for your network operations.

주요 기능

  • 100% 무료 — 가입, 구독, 광고 없음
  • 브라우저에서만 실행 — 데이터는 기기를 떠나지 않습니다
  • 빠르고 가벼움 — 즉시 결과 확인
  • 크로스 플랫폼 — 데스크톱, 태블릿, 모바일 지원

자주 묻는 질문

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.

관련 도구