KanColleTool / kcsrv

An open source KanColle server
MIT License
41 stars 16 forks source link

Change default port to 80 #28

Closed zhangyubaka closed 9 years ago

zhangyubaka commented 9 years ago

I just wonder why don't change port to 80 instead of 5000?

Fuyukai commented 9 years ago

On 20/09/15 20:49, zhangyubaka wrote:

I just wonder why don't change port to 80 instead of 5000?

You don't put gunicorn on port 80. You put it on an invisible port to the outside world, then have nginx or apache proxy through. Gunicorn is not performant enough, apache2/nginx are, and are also much better at static files, permissions and other important stuff that gunicorn is not.

If you put it forward facing on port 80, I will find you and personally yell at you why your server is going to be rooted.

Edit: NEVER MIND YOU FORKED IT AND DID IT ANYWAY. I HOPE YOU ENJOY YOUR BACKDOORED SERVER.