This app allows you to http-forward a PKT domain.
CNAME bounce.pktTXT BOUNCE=https://domain.of.your.website- Go to bounce.pkt
- Enter your domain name and check it
- enter http://your.domain.pkt.tld and you'll be redirected
Default nginx route to bounce server:
server {
listen 80 default_server;
listen [::]:80 default_server;
server_name _;
location / {
proxy_pass http://127.0.0.1:10000;
proxy_set_header Host $host;
}
}Admin nginx conf:
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
include /etc/pkt-cert/bounce.pkt.nginx.inc;
ssl_dhparam /etc/nginx/dhparam.pem;
ssl_protocols TLSv1.2;
ssl_ciphers EECDH+AESGCM:EDH+AESGCM;
ssl_ecdh_curve secp384r1;
root /home/user/bounce-pkt/www;
index index.html;
access_log /var/log/nginx/bounce_access.log;
error_log /var/log/nginx/bounce_error.log;
location /api/v1 {
proxy_pass http://127.0.0.1:10001;
}
location / {
try_files $uri $uri/ =404;
}
error_page 404 /404.html;
location = /404.html {
internal;
}
}MIT OR Apache 2