Has someone been able to get the reverse proxy "swag" working with this?
I receive the message that the certificate is not valid, after ignoring this I receive "502"
--------------- Edit --------------------------
Got it to work:
this ist the configuration for wiki.subdomain.conf:
server {
listen [::]:443 ssl http2;
listen 443 ssl http2;
server_name wiki.*;
charset utf-8;
client_max_body_size 50M;
include /config/nginx/ssl.conf;
location / {
include /config/nginx/proxy.conf;
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_next_upstream http_504;
resolver 127.0.0.11 valid=30s;
set $upstream_app wikijs;
set $upstream_port 3000;
set $upstream_proto http;
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
}
}
Important:
- Do not forget to Update your CNAME at your DNS provider
- Enter wiki at the Docker configuration as you can see below.