Skip to content

pfcstyle/ios-ipa-server-https

Repository files navigation

merge ipa-server and ios-ipa-server, thanks for @iineva and @bumaociyuan

support https.

Don't use this in production env!

Install

$ git clone https://github.com/iineva/ipa-server
$ cd ipa-server
$ docker-compose up -d

Test

Open <http://<HOST_NAME>:9008> in your browser.

Docker Deploy

  • This server is not included SSL certificate. It must run behide the reverse proxy with HTTPS.

  • There is a simple way to setup a HTTPS with replace docker-compose.yml file:


# ***** Replace ALL <YOUR_DOMAIN> to you really domain *****

version: "2"

services:
  web:
    image: ineva/ipa-server:latest
    container_name: ipa-server
    restart: always
    environment:
      - NODE_ENV=production
      - PUBLIC_URL=https://<YOUR_DOMAIN>
    volumes:
      - "/docker/data/ipa-server:/app/upload"
  caddy:
    image: abiosoft/caddy:0.11.5
    restart: always
    ports:
      - "80:80"
      - "443:443"
    entrypoint: |
      sh -c 'echo "$$CADDY_CONFIG" > /etc/Caddyfile && /usr/bin/caddy --conf /etc/Caddyfile --log stdout'
    environment:
      CADDY_CONFIG: |
        <YOUR_DOMAIN> {
          gzip
          proxy / web:8080
        }

Deploy Without Docker

# install node.js first
npm install
npm start
  • now you can access https://<YOUR_DOMAIN> in your browser.

Upload Access Control

Server side:

Add ACCESS_KEY to system environment as password.

Client side:

Browser open: https://<YOUR_DOMAIN>/key.html?key=<ACCESS_KEY>

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published