# 【迁移】使用 Gost 搭建 HTTPS 代理

Last updated on March 19, 2024 pm

- 将提前申请好的ssl证书保存好
- `mkdir -p ~/app/gost && cd ~/app/gost && nano docker-compose.yml`
- `sudo docker-compose up -d`+
- 代理设置为 yourdomain:13443 用户名 limour 密码 passwd
- 使用SwitchyOmega插件时，每次打开浏览器先访问一下 knock.limour.top 进行认证激活

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12

    version: '3.3'
    services:
        gost:
            restart: unless-stopped
            ports:
                - '13443:13443'
            image: ginuerzh/gost
            volumes:
                - ./ssl/fullchain.pem:/bin/cert.pem:ro
                - ./ssl/privkey.key:/bin/key.pem:ro
            command: -L="http+tls://limour:passwd@:13443?cert=cert.pem&key=key.pem&probe_resist=code:400&knock=knock.limour.top"

#gost
【迁移】使用 Gost 搭建 HTTPS 代理
https://hexo.limour.top/-shi-yong--Gost--da-jian--HTTPS--dai-li
Author
Limour
Posted on
February 14, 2023
Updated on
March 19, 2024
Licensed under
【迁移】Whisper搭配VoiceMeeter记录网课内容 Previous
【迁移】人类不该承担文明的沉重负担，文明应当是岁月流逝的光彩照耀 Next

#### Search

Keyword