EADST

Redirecting a Subpath to a Port with Nginx

Redirecting a Subpath to a Port with Nginx

http://xiedong.me/chat-> http://xiedong.me:2023/

server {
    listen 80;
    server_name xiedong.me www.xiedong.me;

    location ~ ^/chat(/.*)?$ {
        return 301 $scheme://xiedong.me:2023$1;
    }

    location / {
        rewrite ^/(.*)$ http://eadst.com/$1 permanent; # redirect to eadst.com
    }
}
相关标签
About Me
XD
Goals determine what you are going to be.
Category
标签云
Food ms-swift 腾讯云 LeetCode ONNX Use Llama SQL QWEN Proxy UNIX 域名 v2ray Datetime RAR Quantization Anaconda transformers BTC 报税 Permission Shortcut Google Nginx Bert OpenCV GIT C++ Review Video Animate Hilton DeepSeek VPN Claude Transformers Github Windows Diagram CEIR SPIE PyTorch OpenAI Numpy AI Paper Streamlit Pillow FP16 继承 LLAMA Vmess Excel OCR Distillation 多进程 git-lfs Conda CUDA VSCode Web Plate LoRA logger llama.cpp Website 版权 RL Search 云服务器 财报 Hungarian 音频 Safetensors XGBoost 净利润 NameSilo ModelScope Qwen2 TSV PDB TensorFlow 证件照 BF16 CC IndexTTS2 JSON Quantize CTC Python SAM 搞笑 CAM hf Zip SVR Miniforge Clash Color Land 强化学习 RGB 飞书 顶会 Pickle Image2Text FP8 uwsgi DeepStream Gemma Cloudreve Tensor Paddle Statistics 算法题 BeautifulSoup 公式 Base64 COCO Markdown Qwen Docker NLP Bipartite Magnet 图标 CV Tiktoken Disk Agent NLTK Vim Ubuntu mmap GGML UI Mixtral Math Jupyter MD5 XML Plotly Interview Random 论文 YOLO Breakpoint TTS Jetson Freesound ResNet-50 LaTeX Bitcoin Django 阿里云 Algorithm Baidu News Domain torchinfo GPT4 icon Linux InvalidArgumentError Attention tar 第一性原理 Knowledge SQLite Input tqdm Translation VGG-16 Hotel FlashAttention GPTQ HaggingFace Firewall FP64 FastAPI Tracking diffusers Ptyhon Dataset LLM v0.dev git WebCrawler printf Template API Augmentation Git Qwen2.5 Bin Crawler uWSGI WAN Data CLAP Logo 图形思考法 签证 论文速读 递归学习法 Password FP32 Rebuttal 关于博主 Card Pandas GoogLeNet PIP 多线程 EXCEL PDF Michelin CSV ChatGPT HuggingFace Pytorch Heatmap TensorRT PyCharm Sklearn scipy
站点统计

本站现有博文333篇,共被浏览917609

本站已经建立2622天!

热门文章
文章归档
回到顶部