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

本站现有博文338篇,共被浏览989905次

本站已经建立2702天!

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