Skip to content

yanhao98/frp-http

Repository files navigation

frp-http

Server

docker pull yanhao98/frp-http-server
docker run -i --rm --name frp-http-server \
    -e FRP_SUBDOMAIN_HOST=domain.com \
    -e SERVER_IP=$(curl -4s ip.sb) \
    -p 80:80 \
    -p 7000:7000 \
    yanhao98/frp-http-server

Update

docker run --rm \
    -v /var/run/docker.sock:/var/run/docker.sock \
    containrrr/watchtower \
    --cleanup --run-once \
    frp-http-server

Links

Reference Links

tips

rm /var/log/nginx/access.log /var/log/nginx/error.log
https://github.com/nginxinc/docker-nginx/blob/4bf0763f4977fff7e9648add59e0540088f3ca9f/mainline/debian/Dockerfile#L102
the nginx log is already redirected to stdout/stderr by default (see Dockerfile#L102)
if we delete the log file, nginx will create a new one, but the new one is not redirected to stdout/stderr

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published