forked from ppfun/pixelplanet
minor documentation fixes
This commit is contained in:
parent
6c5993e12c
commit
05f93ec360
|
@ -189,7 +189,7 @@ pm2 stop ppfun-server
|
||||||
|
|
||||||
### If using Cloudflare / Reverse Proxy
|
### 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
|
### Auto-Start
|
||||||
To have the canvas with all it's components autostart at systemstart,
|
To have the canvas with all it's components autostart at systemstart,
|
||||||
|
|
|
@ -49,7 +49,7 @@ function deleteSubtilefromTile(
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* @param subtilesInTile how many subtiles are in a tile (per dimension)
|
* @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 subtile RGB buffer of subtile
|
||||||
* @param buffer Uint8Array for RGB values of tile
|
* @param buffer Uint8Array for RGB values of tile
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue
Block a user