Replies: 4 comments 13 replies
-
update: I just realised that if I go to my browser to and in the console I see : so I guess that even if the curl to 127.0.0.1 in ssh doesnt work, if I manage to solve this SSL topic then my install would be good, no ? |
Beta Was this translation helpful? Give feedback.
-
pls don't use issues to ask for help in your setup. we have discussions for this. moved |
Beta Was this translation helpful? Give feedback.
-
Based on your setup, I would say that As for CORS, I think the problem comes from the fact you're trying to access remark42 on port 8080 and not 443: I think as soon as you change the setup to make it work on port 443 the error would be gone. However, I don't know what is precisely wrong with your setup on port 443, here is how it should look like in Nginx: server {
listen 80;
server_name remark42.example.org;
location / {
client_max_body_size 2M;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $http_host;
proxy_pass http://remark42:8080/;
}
} I don't know how
|
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
hi team,
I have have the instructions and followed all the steps.
Remark42 is installed via docker, but I fail to access it.
This is my setup:
Server Ubuntu 20.04 TLS
OpenLiteSpeed
Docker is installed
Here are all the steps I did :
1- I created a file docker-compose.yml with this content, and I saved it under
/home/{MYDOMAIN.COM}/public_html/remark42
For now I want to try out the simple config, no facebook/github etc.
Then I do :
$ docker pull umputun/remark42:latest
$ docker-compose pull
$ docker-compose up -d
Now a
$ docker stats
gives me :and
$ docker ps -a
gives me :Now in OpenLiteSpeed, I did
$ sudo nano /usr/local/lsws/conf/httpd_config.conf
and added :as described here https://community.cyberpanel.net/t/reverse-proxy-traffic-to-docker-container-on-cyberpanel/30644
This by the way also appears on OpenLiteSpeed frontend as such :
Then, in
/home/{MYDOMAIN.COM}/public_html/
I added the following in .htaccess :I tried with the following as well btw but it breaks all the frontend, so I stick with the above :
After I rebooted OpenLiteSpeed, my website works, but when doing
$ curl 127.0.0.1:8080
I getIf i do
$ docker exec -it remark42 /bin/sh
, then inside/srv #
I runcurl -v 127.0.0.1:8080
I get:
.....
then 404 page not fount at the end`
If i do
iptables -L | grep -i docker
I get some results with DOCKER, but the DOCKER-INGRESS bock is missing in the iptables output.So I have no idea what to do now...
Any help would be gladly welcome :)
Note that I am really a noob...
Thanks in advance !
Beta Was this translation helpful? Give feedback.
All reactions