screego / server

screen sharing for developers https://screego.net/
https://app.screego.net
GNU General Public License v3.0
7.62k stars 551 forks source link

IIS reverse proxy #143

Closed piratov closed 1 year ago

piratov commented 1 year ago

Unable to enter the room without specifying the port It enters without a port but does not let it into the room

LOG debug Websocket upgrade error="websocket: request origin not allowed by Upgrader.CheckOrigin"

image image

web.config `

    </rewrite>`
jmattheis commented 1 year ago

Try adding your origin to

# Defines origins that will be allowed to access Screego (HTTP + WebSocket)
# The default value is sufficient for most use-cases.
# Example Value: https://screego.net,https://sub.gotify.net
SCREEGO_CORS_ALLOWED_ORIGINS=

See https://screego.net/#/config

piratov commented 1 year ago

thank you all solved)