UnamSanctam / UnamWebPanel

MIT License
164 stars 61 forks source link

Change http to https #251

Open neoandersen opened 1 year ago

neoandersen commented 1 year ago

The bottom line is this. From IP address redirected to the domain PHP will work (domain is added to the server instead of IP). If the option to redirect from http to https, maybe in the options of PHP itself to make the API URL work on endpoint.php. Perhaps there is an edit to the php script itself to solve this. I will be very grateful in advance.

UnamSanctam commented 1 year ago

You just want to redirect it from http to https? Then you would add that into your webserver, for example in Apache you would add that into your VirtualHost configuration.

neoandersen commented 1 year ago

Yes. I know about the virtual host. The main thing that on the side of php was normal to work api url.

neoandersen commented 1 year ago

The site moved, the rights are all fine. The redirection is there. But still no machines, and they should be. May be able to suggest virtual host line for http to https. On nginx.

neoandersen commented 1 year ago

Already did it! It works great!

UnamSanctam commented 1 year ago

Alright that's great, well done in getting it to work.