Fenrirthviti / stream-site

Rachni - nginx RTMP streaming front end
Other
195 stars 71 forks source link

stop SSL #29

Closed petrichbg closed 7 years ago

petrichbg commented 7 years ago

hello again pls can you write how to stop SSL configuration ?

i want http:// not https://

Fenrirthviti commented 7 years ago

Remove the port 80 redirect to ssl, and remove the ssl config.

petrichbg commented 7 years ago

what line need to remove on config ?

Fenrirthviti commented 7 years ago

Please read the config files, it's explained there: https://github.com/Fenrirthviti/stream-site/blob/master/src/nginx/sites-available/main.conf#L14

petrichbg commented 7 years ago

when i stop SSL i got this error

Notice: Undefined index: HTTPS in /var/www/html/inc/config.php on line 23

Fenrirthviti commented 7 years ago

Hmm, that shouldn't happen.

Just change line 23 to this:

$protocol = 'http://';
petrichbg commented 7 years ago

lol ;) For 3-4 days I was wondering how to fix this 23 line

Fenrirthviti commented 7 years ago

Closing as it looks like you got this working.