Hi,
I'm having troubles setting up nginx config for wiki.js. I am running the beta (version 2.0.0-beta.275) on a docker container. So far I've tried to use the official documentation on nginx - but it won't work. Maybe it is because the documentation is for the previous version (version 1.0.117)
This is from the official doc:
Code
server {
listen 80;
listen [::]:80;
server_name wiki.example.com;
location / {
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_pass http://127.0.0.1:3001;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_next_upstream error timeout http_502 http_503 http_504;
}
}
Alles anzeigen
Has anyone had experience with setting it up?