Hall an alle, ich habe da ein kleines Problem mit Dockmost, was über Docker und Apache2 läuft. Ich hoffe, ihr kennt das.
Ich versuche schon seit Tagen einen ProxyPass einzurichten; so weit geht es auch, also die Seite wird geladen und ich kann alles öffnen. Jedoch kann ich nichts bearbeiten oder erstellen.
Wenn ich die IP direkt eingebe, geht alles, aber über den Link nicht. Vielleicht habt ihr eine Idee?
Das sind soweit die Confs:
Apache2:
Apache Configuration
<IfModule mod_ssl.c>
<VirtualHost *:443>
ServerName notes.luethje.site
ServerAlias notes.luethje.site
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html
ErrorLog ${APACHE_LOG_DIR}/notes_error.log
CustomLog ${APACHE_LOG_DIR}/notes_access.log combined
RewriteEngine On
RewriteCond %{REQUEST_URI} ^/api/socket.io [NC]
RewriteCond %{QUERY_STRING} transport=websocket [NC]
RewriteRule /(.*) ws://localhost:3000/$1 [P,L]
RequestHeader set "X-Forwarded-Proto" "https"
ProxyPass /api/socket.io ws://localhost:3000/api/socket.io
ProxyPassReverse /api/socket.io ws://localhost:3000/api/socket.io
ProxyPreserveHost On
ProxyPass /.well-known !
ProxyPass / http://localhost:3000/
ProxyPassReverse / http://localhost:3000/
SSLCertificateFile /etc/letsencrypt/live/notes.luethje.site/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/notes.luethje.site/privkey.pem
Include /etc/letsencrypt/options-ssl-apache.conf
</VirtualHost>
</IfModule>
<Directory />
Options FollowSymLinks
AllowOverride None
Require all denied
</Directory>
<Proxy *>
Order allow,deny
Allow from all
</Proxy>
Display More
Docker compose datei:
Code
version: "3"
services: docmost:
image: docmost/docmost:latest
depends_on:
- db
- redis
environment:
TZ: Europe/Berlin
APP_URL: "https://notes.luethje.site:3000"
APP_SECRET: "e02623c218b8 xxxx"
DATABASE_URL:
"postgresql://docmost:xxxx@db:5432/docmost?schema=public"
REDIS_URL: "redis://redis:6379"
MAIL_DRIVER: smtp
SMTP_HOST: smtp.strato.de
SMTP_PORT: xxxx
SMTP_USERNAME: xxxx
SMTP_PASSWORD: xxxx
MAIL_FROM_ADDRESS: xxxx
MAIL_FROM_NAME: Notes Lütte
ports:
- "3000:3000"
restart: unless-stopped
volumes:
- docmost:/app/data/storage
db:
image: postgres:16-alpine
environment:
POSTGRES_DB: xxxx
POSTGRES_USER: xxxx
POSTGRES_PASSWORD: xxxx
restart: unless-stopped
volumes:
- db_data:/var/lib/postgresql/data
redis:
image: redis:7.2-alpine
restart: unless-stopped
volumes:
- redis_data:/data
volumes:
docmost:
db_data:
redis_data:
Display More
Die fehler Meldung:
Was mit Rechten? Aber die habe ich ja hinzugefügt. Und dann frage ich mich, wieso es direkt über IP und nicht über den Link geht. Ich hoffe, ihr oder einer von euch kann mir helfen?
Vielen Dank schon einmal.