Skip to content

stackinspector/LDTstore

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

LDTstore.com.cn

NOTICE

The current role of this repository is only the configuration of dynamic services. The three directories build (for old pages and their build system before November 2021), nginx (for previous nginx configuration of the main site) and wwwroot are reserved for historical reasons only.

For the source code of current pages and their build system, see ldtstore-homepage

For images on the pages, see ldtstore-assert

For the generic http redirect service used on /r and /r2, see http-redirector

Build Docker Images for Redirect Service

Prepare a linux VM with docker installed locally for building images. Login as root.

mkdir redirect && cd "$_"
# upload [repo]/docker/redirect/dockerfile to [remote]/root/redirect/dockerfile
wget -O- https://github.com/stackinspector/http-redirector/releases/download/v0.6.0/http-redirector_v0.6.0_x86_64-unknown-linux-musl.tar.xz | tar xv --lzma
chmod 755 hr
docker build -t path/to/redirect:[version] .
docker push path/to/redirect:[version]