const express = require('express'); const axios = require('axios'); const httpProxy = require('http-proxy');

Usage: append /proxy/HTTPS://TARGET-WEBSITE.COM to the URL.

Setting Up Node Unblocker on Vercel: A Complete Deployment Guide

Node Unblocker on Vercel is a powerful and surprisingly simple way to deploy your own web proxy. It's an excellent tool for developers looking to understand how web proxying works, for individuals seeking a personal tool to bypass censorship, and for scraping static websites.

, "routes": [

To get these features working correctly on Vercel, you must include a vercel.json file in your root directory to configure the and define your routes. Using the Node.js Runtime with Vercel Functions

Before you deploy anything, let's have an honest conversation about what Vercel actually allows.

`); else res.writeHead(404, 'Content-Type': 'text/plain' ); res.end('Not Found'); ); ); // Vercel handles the port automatically, but local testing needs a fallback const PORT = process.env.PORT || 3000; server.listen(PORT, () => console.log(`Server running on port $PORT`); ); module.exports = server; Use code with caution. Step 4: Configure Vercel ( vercel.json )

Open https://your-project.vercel.app/proxy/https://example.com . You should see the proxied version of the target site.

Create a vercel.json file in the project root:

// ... unblocker setup

확인 취소
닫기

작성하신 에 이용자들의 신고가 많은 표현이 포함되어 있습니다.

신고가 많은 표현

다른 표현을 사용해주시기 바랍니다.
건전한 인터넷 문화 조성을 위해 회원님의 적극적인 협조를 부탁드립니다.

더 궁금하신 사항은 고객센터로 문의하시면 자세히 알려드리겠습니다.