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

doc: integrate API and related tools #11

Open
Helias opened this issue Dec 16, 2020 · 1 comment
Open

doc: integrate API and related tools #11

Helias opened this issue Dec 16, 2020 · 1 comment
Assignees

Comments

@Helias
Copy link
Member

Helias commented Dec 16, 2020

Add in the documentation how to integrate:

  • PvPstats
  • playermap
  • the API
  • Server Status
  • Arena Stats

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@Helias Helias self-assigned this Dec 16, 2020
@Helias
Copy link
Member Author

Helias commented Dec 19, 2020

Some notes for the future documentation:

image

<iframe src="https://yourwebsite.com/apps/pvpstats/"></iframe>

nginx conf

    location /apps {
      index index.html index.php;
    }

    location /api/ {
        proxy_set_header X-Forwarded-Host $host:$server_port;
        proxy_set_header X-Forwarded-Server $host;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_pass http://node-api:3000/;
    }

if nestJS can't connect for

Error: ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MySQL client

solution:

ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password'

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