Closed mnixry closed 2 years ago
Related: #29
Caddy provides some awesome features such as automatic SSL, I prefer to use that in this case.
I'd like to share my config file here.
With this config file, you can:
[your-domain]/classic/
localhost:8080
qb-web
[your-domain]
/var/www/qb-web
[your-domain] { route /classic/* { uri strip_prefix /classic reverse_proxy localhost:8080 } route /* { reverse_proxy /api/* localhost:8080 root * /var/www/qb-web file_server } encode gzip }
I hope this tip can be added into wiki, any further question and improvement suggestions is welcomed.
Related: #29
Caddy provides some awesome features such as automatic SSL, I prefer to use that in this case.
I'd like to share my config file here.
With this config file, you can:
[your-domain]/classic/
served atlocalhost:8080
qb-web
at[your-domain]
, static file is located in/var/www/qb-web
I hope this tip can be added into wiki, any further question and improvement suggestions is welcomed.