Static Files (.js and .css) Not Loading #53
Replies: 3 comments 2 replies
-
I hope to look at it this weekend. Do you have any instructions on reproducing your setup? |
Beta Was this translation helpful? Give feedback.
-
Hi You started the container on port 80/tcp (http) but you are trying to connect on 443/tcp (https). I always use docker-compose to start the containers. See https://github.com/timlegge/docker-foswiki/blob/master/docker-compose.2-simple-https.yml for a sample.
The other option is to: docker run -idt -p 80:80 -p 443:443 timlegge/docker-foswiki but you will need to configure the https manually. You can also:
and grep for the https in the config to see if you changed something to https: ` `
|
Beta Was this translation helpful? Give feedback.
-
Glad to hear - docker compose makes it a little easier for sure. I probably should update the documentation since the docker run is pretty much where you start... Close the discussion if you are fine |
Beta Was this translation helpful? Give feedback.
-
I'm trying to get FOSWiki up and running on a Digitalocean Ubuntu 24.04 droplet. I tried both building the image and using the one from Docker Hub. I was just keeping it simple at first and running the
docker run -idt -p 80:80 timlegge/docker-foswiki
.The browser console shows ERR_CONNECTION_REFUSED errors for all .js and .css files, even those that should be served directly by nginx. Here's an example:
The nginx error log:
Beta Was this translation helpful? Give feedback.
All reactions