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

本站现有博文327篇,共被浏览833111

本站已经建立2538天!

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