Error! SSLPROXY. In OSSN what would be the instruction needed to insert in "ossn.config.site.php" to solve this problem?

Victor Barroso Oliveira Posted in Technical Support 4 years ago

Good afternoon,
I did an OSSN installation with the server's ip number http: // meuip / ossn.
When I change the file "ossn.config.site.php"
$ Ossn-> url = 'https: // mydomain / ossn /'; the system has an error.
I verified that there is a Reverse Proxy in our network.
This same error also occurred when installing the "Moodle" software on the same server. In Moodle this was solved by inserting a line "$ CFG-> sslproxy = true;" in the config.php of the Moodle installation.
In OSSN what would be the instruction needed to insert in "ossn.config.site.php" to solve this problem?
Thanks, VicTOR

Replies
Indonesian Arsalan Shah Replied 4 years ago

Hi Victor i am not sure what is wrong, follow my advice reimage the server with Ubuntu 20.04 and run https://www.opensource-socialnetwork.org/wiki/view/3994/how-to-install-ossn-on-ubuntu-1804-2004-x64-using-command-line and make sure the server IP is publicly accessible.

When you visit the IP and you see the installation page don't continue installation now use yourwebsite URL instead.

Breton Victor Barroso Oliveira Replied 4 years ago

We are only using Apache.
I believe that something is missing from the OSSN configuration for a reverse proxy in Apache.
We used several other software on this server without any problems.

Indonesian Arsalan Shah Replied 4 years ago

We are not Moodle, and i am not sure what is wrong but i am pretty sure its something to do with your proxy and you are not only using Apache but something else also like nginx

Breton Victor Barroso Oliveira Replied 4 years ago

Moodle has an instruction for those who use SSL on external Apache (it is suggested), add this line to your configuration:

$ CFG-> sslproxy = true;

Does the OSSN not have a configuration for those who use SSL on external Apache?

Breton Victor Barroso Oliveira Replied 4 years ago

Yes, install on apache, mysql, php no other tool involved.

Indonesian Arsalan Shah Replied 4 years ago

So i am guessing you are trying to install on apache, mysql, php no other tool involved. A pure apache only.

Breton Victor Barroso Oliveira Replied 4 years ago

When I visit https://yourwebiste.com/ it works more direct to http: // myip /

Indonesian Arsalan Shah Replied 4 years ago

Do you have SSL installed and running? Lets forgot about OSSN so when you visit https://yourwebiste.com/ does it it work?