This is a fresh installation. However. The login page doesn’t show.
https://forum.coinut.com/login
A random page that doesn’t exist like https://forum.coinut.com/dflkadjf has something.
I tried to reinstall but the result is the same.
Can someone help?
「いいね!」 2
TOMAR
(TOM)
2020 年 9 月 18 日午後 5:52
2
What type of server is Dedicated or VPS installed on?
「いいね!」 1
It’s a digital ocean Ubuntu 18.04 LTS instance.
I installed by checking out github to /var/discourse and setting up.
「いいね!」 2
TOMAR
(TOM)
2020 年 9 月 18 日午後 6:00
4
You looked at the main page of your site and found that you did not complete the installation steps yet! You must add the name of the manager and password and complete the registration
「いいね!」 1
TOMAR
(TOM)
2020 年 9 月 18 日午後 6:04
5
You successfully added administrator information: Check your email
Admin
123456
Change the password if you enter it for your site
「いいね!」 1
IAmGav
(Gavin Perch)
2020 年 9 月 18 日午後 6:09
6
you did not enter all the info that was required when you installed it.
you will now need to edit the app.yml file and rebuild before you can use it
「いいね!」 1
IAmGav
(Gavin Perch)
2020 年 9 月 18 日午後 6:13
8
「いいね!」 1
Followed the steps and created the account. Now the home page is still blank.
「いいね!」 1
IAmGav
(Gavin Perch)
2020 年 9 月 18 日午後 6:18
10
「いいね!」 4
Nothing special was configured. But the docker is behind nginx. I tried to use ssh -D8080 server_address to open a proxy and used a browser to directly visit the docker instance to by pass nginx. It’s the same result.
「いいね!」 1
It seems to be something related to our nginx’s pagespeed module.
「いいね!」 1
I followed Discourse refused to load with CSP policy error after rebuild and disabled CSP.
Now there are less errors. But the home page is still blank. And the errors are like these:
「いいね!」 2
The reason was that https://forum.coinut.com/assets/ember_jquery-d0ba1603b80181031290e4bd850857d41d63bc4a081d7b4bf16d4e1a4e355a22.js was truncated by nginx. I turned off pagespeed and purged cache on cloudflare. Now it works.
「いいね!」 1
Canapin
(Coin-coin le Canapin)
2020 年 9 月 18 日午後 9:45
15
Be aware that Cloudflare isn’t recommended with Discourse:
「いいね!」 1
Stephen
(Stephen)
2020 年 9 月 19 日午後 3:55
16
If you put the site behind nginx you weren’t following the standard install guide. Pagespeed isn’t supported.
Nothing should be allowed to manipulate the page content. Discourse is a JavaScript application, not a website. It isn’t compatible with third party optimizers such as pagespeed or CloudFlare’s Rocket Loader.
That’s an interesting concept. But as long as nginx or pagespeed or CloudFlare do not violate the HTTP protocol, they should work well together?
Stephen
(Stephen)
2020 年 9 月 19 日午後 4:40
18
Discourse already minifies the JS and optimizes the page. Other attempts to do so aren’t supported or compatible.
Once the JavaScript app has loaded, the data transfer is minimal. Pagespeed can’t help you there.
That sounds great. How about CloudFlare as a CDN? Wouldn’t that help to lower the response time and save traffic?
Stephen
(Stephen)
2020 年 9 月 19 日午後 4:43
20
S3 will save you traffic if paired with a CDN.
Inserting Cloudflare in the route between client and server increases the network hops and slows down request/response times.
Remember that the payload between client and server is nearly never something that can be cached.