Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update documentation for https websocket function in PA server config #72

Open
Airforc opened this issue Feb 12, 2021 · 0 comments
Open

Comments

@Airforc
Copy link

Airforc commented Feb 12, 2021

In order to use https with nginx, cors_allowed_origins in /server/server_config.cfg needs to have the https://subdomain.domain.com specified that is directed to PA.

[Webserver]
# Allowed CORS origins # If not specified, only the host runnig the server is allowed
# Allowed values are: ['*'], ['some-address.xyz', 'other-address.xyz'], [] # More information on the meaning of these values can be found at
# https://python-socketio.readthedocs.io/en/latest/api.html#asyncserver-class **cors_allowed_origins = https://subdomain.domain.com**

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant