PhlexPlexico / get5-web

[END OF LIFE] Webpanel for servers using the get5 CS:GO server plugin
GNU General Public License v3.0
21 stars 10 forks source link

[QUESTION] Cloudflare, Https #181

Closed gouyeh closed 4 years ago

gouyeh commented 4 years ago

Hello, this plugin support ssl?

PhlexPlexico commented 4 years ago

https://github.com/PhlexPlexico/get5-web/wiki/Installation#11-optional---move-to-ssl In the wiki it states that you can use SSL/HTTPS. However, you still need a direct HTTP link due to limitations with SteamWorks.

gouyeh commented 4 years ago

you still need a direct HTTP link due to limitations with SteamWorks.

This what i need to be work with https :(

PhlexPlexico commented 4 years ago

So yeah, it's not going to work.

For future reference, I've moved the plugin to a different project - https://github.com/PhlexPlexico/get5-webapi

There are a few different extensions that deal with HTTPS, but I'm not sure about CloudFlare, since you do need an open endpoint past that (rate limiting is dealt with by the API, you can browse the code to see). I may poke around with a few different implementations and see what can be done.

As for the interim, it would be possible to play around with your web server settings to allow HTTPS on everything, but exclude a few URLs as well (take a look in get5/api.py to see the URLs) from redirecting to port 443/CloudFlare and it should, in theory, work.

TandelK commented 4 years ago

@PhlexPlexico if we move to sourcemod cURL can we do both the functions in single extension , HTTPS and FTP Uploads ?

Currently it supports Protocols: dict file ftp ftps gopher http https imap imaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp

Sourcemod cURL Extension - https://forums.alliedmods.net/showthread.php?t=152216

PhlexPlexico commented 4 years ago

That would also take an entire rewrite of the plugin (which, as I said, is now in it's own repo). PRs are welcome for that, and leave the request in the other repo, thanks!