linuxserver / reverse-proxy-confs

These confs are pulled into our SWAG image: https://github.com/linuxserver/docker-swag
GNU General Public License v3.0
1.33k stars 300 forks source link

Create wikijs.subdomain.conf.sample #630

Closed unkn0wnAPI closed 8 months ago

unkn0wnAPI commented 8 months ago

linuxserver.io



Description

Adds reverse proxy configuration for wiki.js docker container.

Benefits of this PR and context

Adds missing reverse proxy configuration for linuxserver/docker-wikijs, resolves stale PR #532.

How Has This Been Tested?

This configuration has been tested by me, after incorporating wiki.js docker container into my production environment. (Tested on Wiki.js version v2.5.300-ls123). Steps used to test the configuration:

  1. Create and start Wiki.js docker container (with internal port set to 3000, as per docker container configuration);
  2. Add this configuration file to proxy-confs swag directory and remove .sample suffix;
  3. Set wikijs CNAME in your DNS provider configuration panel (Cloudflare was used during testing);
  4. Restart both swag and wiki.js docker container;
  5. Access wiki.js container by navigating to https://wikijs.your-domain.tld;
  6. Remember to set site url to https://wikijs.your-domain.tld during initial wiki.js configuration.

Source / References

Wiki.js GraphQL API Wiki.js Initial Configuration LinuxServer Subdomain Reverse Proxy Configuration Template

Please ignore changes for influxdb.subdomain.conf.sample, as I pushed them to the wrong branch. The changes were reverted after I had noticed the mistake.