Last active
November 25, 2017 06:34
-
-
Save nogweii/8278021 to your computer and use it in GitHub Desktop.
PageKite configuration for running your own front-end (broken, sorta)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # /etc/pagekite/20_frontend.rc on kites.evaryont.me | |
| # Front-end selection | |
| # | |
| # Front-ends accept incoming requests on your behalf and forward them to | |
| # your PageKite, which in turn forwards them to the actual server. | |
| # Running my own front-end! | |
| isfrontend | |
| # Run as user is also specified in the init.d script (and the log file) | |
| #runas=nobody:nogroup | |
| ports=80,443 | |
| protos = finger,http,http2,http3,httpfinger,https,irc,minecraft,raw,websocket | |
| #domain=http,https:kites.evaryont.me:secret-secret | |
| domain=http:*.kites.evaryont.me:secret-secret | |
| # Fall back on any incoming HTTP/HTTPS requests that we don't | |
| # know about to nginx listening on localhost | |
| service_on=https:unknown:localhost:8443: | |
| service_on=http:unknown:localhost:8080: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # ~/.pagekite.rc on my laptop; generate via `egrep -v "(^#|^$)" ~/.pagekite.rc` | |
| kitename = basic.kites.evaryont.me | |
| kitesecret = secret-secret | |
| frontend = kites.evaryont.me:443 | |
| service_on = raw-22:ssh.kites.evaryont.me : localhost:22 : @kitesecret | |
| service_on = raw-443:@kitename : localhost:22 : @kitesecret | |
| savefile = /home/colin/.pagekite.rc | |
| END |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment