I am wanting to use the forum on my pool site. But the forum adddress is going to be https://ktiptokyng.com/forum/
-
performed ./nodebb build and still no change
-
it keeps say "As a new user, you can only post once every 300 second(s) until you have earned 1 reputation - please wait before posting again"
-
i sent you a copy to a private message
-
server { root /var/www/kriptokyng/html; index index.html index.htm index.nginx-debian.html; server_name kriptokyng.com; listen [::]:443 ssl ipv6only=on; # managed by Certbot listen 443 ssl; # managed by Certbot ssl_certificate /etc/letsencrypt/live/kriptokyng.com/fullchain.pem; # managed by Certbot ssl_certificate_key /etc/letsencrypt/live/kriptokyng.com/privkey.pem; # managed by Certbot include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot location / { proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header Host $http_host; proxy_set_header X-NginX-Proxy true; proxy_pass http://127.0.0.1:7000; } location /api/ { proxy_pass http://127.0.0.1:4000/api/; } location /forum/ { proxy_pass http://127.0.0.1:4567/forum/; # Socket.IO Support proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; } } server { if ($host = kriptokyng.com) { return 301 https://$host$request_uri; } # managed by Certbot listen 80; listen [::]:80; }
-
Your nginx config seems wrong.
-
it does the same thing, not change.
-
server { root /var/www/kriptokyng/html; index index.html index.htm index.nginx-debian.html; server_name kriptokyng.com; listen [::]:443 ssl ipv6only=on; # managed by Certbot listen 443 ssl; # managed by Certbot ssl_certificate /etc/letsencrypt/live/kriptokyng.com/fullchain.pem; # managed by Certbot ssl_certificate_key /etc/letsencrypt/live/kriptokyng.com/privkey.pem; # managed by Certbot include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot location / { proxy_pass http://127.0.0.1:7000; } location /api/ { proxy_pass http://127.0.0.1:4000/api/; } location /forum/ { proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header Host $http_host; proxy_set_header X-NginX-Proxy true; proxy_pass http://127.0.0.1:4567; proxy_redirect off; # Socket.IO Support proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; } } server { if ($host = kriptokyng.com) { return 301 https://$host$request_uri; } # managed by Certbot listen 80; listen [::]:80; } ```
-
Did you also set the url property in config.json to
https://ktiptokyng.com/forum
? -
yes i did
-
It doesn't look like it is set correctly. Loading your forum requests files from a wrong url. Check the network tab.
.
Make sure to change the url property to
https://kriptokyng.com/forum
in config.json and rebuilt restart nodebb/nginx. -
gettig better, but still not right.
-
-
And it running very slow
-
-
runs fine on 192.168.1.189:4567/forum. But doesn't on ssl https://kriptokyng.com/forum
-
-
-
is this thing much faster running on redis?
-
is this thing much faster running on redis?
@kriptokyng if it's perceivably slow then no, something is wrong and it's not the database.
-
@kriptokyng fwiw that link loads fine for me