When i change my OSSN from http to https it looks very bad.. like no have css

gogo brais Posted in Performance and Scalability 4 months ago

when i change my OSSN from http:// to https:// ..it looks very bad.. like no have css ..this is my site https://artplace.bg ..can anybody help my ?

Replies
German ~Z~ Man Replied 2 months ago

There's a simple rule:
The requests that your Ossn server receives (be it https or http) have to be in line with

$Ossn->url

saved in your ossn.config.site.php

That is, if you have a flow like

client-request(https) -> proxy (converting https2http) -> Ossn(expecting https)

things won't work.

So please look into your Ossn apache log and verify what is arriving.

us Donald Wood Replied 2 months ago

By crash I mean no css I can recreate it and let you look at it. It gave no error message. I can toggle back and forth between http and https and http works https doesn't. I am using letsencrypt to secure the site but the cert is on the reverse proxy server not the same server that hosts ossn.

German Arsalan Shah Replied 2 months ago

I am really not sure about this reverse proxy stuff and what do you mean by website crash? do you get any specific error? A website URL would be much appreciated for us to find out what is wrong.

us Donald Wood Replied 2 months ago

Arsalan Shah
What do you mean by install?

When I install letsencrypt on the reverse proxy server. I also tried to install the certs on the ossn server thats behind the nginx proxy server but had the same results. Right now I am just running http: and it seems to work ok but not the way I would like it.

German Arsalan Shah Replied 2 months ago

What do you mean by install? Do you mean changing http to http in file? or you mean when you go into your cpanel and install ssl?

us Donald Wood Replied 2 months ago

Hmmm Ok I went back to http and everything works fine. When I install the SSL on my reverse proxy server for this site it crashes. I am sure its something I am not setting up right just not sure what I can do at this point. Thanks for the replies. I followed the video but as soon as I install SSL my site crashes and I cannot access it.

German ~Z~ Man Replied 2 months ago

Don't know what you're missing, Donald. On the Wiki page Arsalan mentioned is even a video showing all the necessary steps.

us Donald Wood Replied 2 months ago

I might add I am behind a nginx reverse proxy and the letsencrypt cert is on the reverse proxy. not on the ossn machine.

us Donald Wood Replied 2 months ago

ok when I set it to https and repfreshed it I was kicked out. how do I enable cache on a ubuntu server? What file is the enable command in? I now have no css and its won't let me login.