18 Commits

Author SHA1 Message Date
Miroslav Šedivý 44fa2e06e4 Metrics (#115)
* metrics add totalRooms and runningRooms.

* load initial metrics.

* fix.
2024-03-03 17:31:18 +01:00
Miroslav Šedivý ffeef5e887 fix pprof. 2023-11-25 15:37:08 +01:00
Miroslav Šedivý 47ee523205 Allow API versioning (#85)
* add api v3 partial support.

* fix codecs in env.

* fix default codecs.

* split files.

* add session stats for api v3.

* fix API token env.

* fix null array in json.

* add CORS.

* save api version to labels.

* irgnore api token env.

* remove duplicate api version.

* move api version to settings.
2023-10-21 21:26:02 +02:00
Miroslav Šedivý 6e8bcf90e9 add admin path prefix. 2023-10-05 21:03:00 +02:00
Miroslav Šedivý 28ec254ff6 remove ioutil. 2023-09-30 15:27:23 +02:00
Miroslav Šedivý 3ebbd8d48c upgrade go-chi to v5. 2023-09-30 15:27:23 +02:00
Miroslav Šedivý 3ef6387153 fix req headers. 2022-08-04 00:44:17 +02:00
Miroslav Šedivý 3e23fe5d0d fix x-forwarded headers 2022-08-04 00:44:17 +02:00
Miroslav Šedivý 9bc34e38c9 proxy auth add x-forwarded headers. 2022-08-04 00:44:17 +02:00
Miroslav Šedivý 3b7f8091f8 add proxy auth. 2022-08-04 00:44:17 +02:00
Miroslav Šedivý 427d350e3d join static, api and proxy in server. 2022-08-04 00:44:17 +02:00
Miroslav Šedivý ae2582deaf replace lobby with proxy. 2022-08-04 00:44:17 +02:00
Miroslav Šedivý 29727e307e proxy store context in labels. 2022-08-04 00:44:17 +02:00
Miroslav Šedivý 15b30babce admin path prefix & password. 2022-08-04 00:44:17 +02:00
Miroslav Šedivý edc53b879a traefik enabled. 2022-08-04 00:44:17 +02:00
Miroslav Šedivý 91805fcaab internal proxy & admin path prefix. 2022-08-04 00:44:17 +02:00
Miroslav Šedivý 679142a471 add proxy (WIP). 2022-08-04 00:44:17 +02:00
Miroslav Šedivý 8800c023db refactor server manager. (#57) 2022-04-09 18:08:48 +02:00