Skip to content

Simple Piku application to redirect a URL.

Notifications You must be signed in to change notification settings

piku/piku-redirect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A simple piku application to redirect every request from one domain to another.

Useful when you have moved your piku app's domain.

Set the old domain in ENV:

NGINX_INCLUDE_FILE=nginx.conf
NGINX_SERVER_NAME=my-old-domain.com www.my-old-domain.com

Set the new domain in nginx.conf

return 302 $scheme://my-new-domain.com$request_uri;
git remote add piku [email protected]:redirector
git push piku

Replace my-old-domain.com and my-new-domain.com with your own values.

Replace yourserver.net with your Piku instance, and redirector with your custom app name, if desired.

About

Simple Piku application to redirect a URL.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published