Skip to content

Access throught a Reverse Proxy #39

@asraelvudogel

Description

@asraelvudogel

linuxserver.io


Expected Behavior

Access to the dokuwiki-container over a reverse proxy like Traefik oder Nginx as from the internal ip.

Current Behavior

Access through the local ip works as aspected. If I try to access the container through a reverse proxy, I'd tried Traefik 2.5 and Nginx, I can log in, but no stylesheets and no content is loaded. So I can't work with the wiki.
Changing the PUID- and PGID-Values doesn't change anything.

Steps to Reproduce

  1. Deploy the dokuwiki-container
  2. Deploy the reverse proxy
  3. Try to access from outside LAN

Environment

OS:
CPU architecture: arm32
How docker service was installed:

with the official guide

Command used to create docker container (run/create/compose/screenshot)

version: "2.1" services: dokuwiki: image: ghcr.io/linuxserver/dokuwiki container_name: dokuwiki environment: - PUID=1000 - PGID=1000 - TZ=Europe/Berlin volumes: - /opt/docker/dokuwiki-test:/config ports: - 8081:80 - 8082:443 restart: always

Docker logs

[s6-init] making user provided files available at /var/run/s6/etc...exited 0., [s6-init] ensuring user provided files have correct perms...exited 0., [fix-attrs.d] applying ownership & permissions fixes..., [fix-attrs.d] done., [cont-init.d] executing container initialization scripts..., [cont-init.d] 01-envfile: executing... , [cont-init.d] 01-envfile: exited 0., [cont-init.d] 10-adduser: executing... , usermod: no changes, , -------------------------------------, _ (), | | ___ _ __, | | / __| | | / \ , | | \__ \ | | | () |, |_| |___/ |_| \__/, , , Brought to you by linuxserver.io, -------------------------------------, , To support LSIO projects visit:, https://www.linuxserver.io/donate/, -------------------------------------, GID/UID, -------------------------------------, , User uid: 911, User gid: 911, -------------------------------------, , [cont-init.d] 10-adduser: exited 0., [cont-init.d] 20-config: executing... , [cont-init.d] 20-config: exited 0., [cont-init.d] 30-keygen: executing... , using keys found in /config/keys, [cont-init.d] 30-keygen: exited 0., [cont-init.d] 50-config: executing... , Existing install found install.php not available, [cont-init.d] Setting permissions this may take some time, [cont-init.d] 50-config: exited 0., [cont-init.d] 90-custom-folders: executing... , [cont-init.d] 90-custom-folders: exited 0., [cont-init.d] 99-custom-files: executing... , [custom-init] no custom files found exiting..., [cont-init.d] 99-custom-files: exited 0., [cont-init.d] done., [services.d] starting services, [services.d] done.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions