minor documentation fixes

This commit is contained in:
HF 2022-06-22 22:18:21 +02:00
parent 6c5993e12c
commit 05f93ec360
2 changed files with 2 additions and 2 deletions

View File

@ -189,7 +189,7 @@ pm2 stop ppfun-server
### If using Cloudflare / Reverse Proxy
If USE\_XREALIP is set, we take the IP from the X-Real-Ip header. Use this if you have pixelplanet running behind nginx and cloudflare. Use the nginx set\_realip module to give us the client ip on the X-Real-Ip header (and set it up so that just cloudflare are trusted proxy IPs, or else players could fake their IP). And be sure to also set X-Forwarded-Port and set X-Forwarded-Proto, because we use it for CORS and redirecion.
If USE\_XREALIP is set, we take the IP from the X-Real-Ip header. Use this if you have pixelplanet running behind nginx and cloudflare. Use the nginx set\_realip module to give us the client ip on the X-Real-Ip header (and set it up so that just cloudflare are trusted proxy IPs, or else players could fake their IP). And be sure to also set X-Forwarded-Host, X-Forwarded-Port and set X-Forwarded-Proto, because we use it for CORS and redirecion.
### Auto-Start
To have the canvas with all it's components autostart at systemstart,

View File

@ -49,7 +49,7 @@ function deleteSubtilefromTile(
/*
* @param subtilesInTile how many subtiles are in a tile (per dimension)
* @param cell subtile to delete [dx, dy]
* @param cell where to add the tile [dx, dy]
* @param subtile RGB buffer of subtile
* @param buffer Uint8Array for RGB values of tile
*/