Skip to content

ProductivityTools-Services/ProductivityTools.ReverseProxy

Repository files navigation

Reverse proxy service full tutorial is place in the articles

To setup reverse proxy. Execute script

chmod +x CopySites-Availiable.sh
.CopySites-Availiable.sh

ADDED to the script

Add ssl if required (maybe it should be added to the script)

sudo certbot --nginx -d feedback-api.productivitytools.top
sudo nginx -t
sudo nginx -s reload

Debug:

ls /etc/nginx/sites-enabled/

./CopySites-Availiable.sh is equal to ./CopySites-Availiable.sh 1
./CopySites-Availiable.sh 2 gives more details

If you want to execute script only for one file then:

sudo ./CopySites-Availiable.sh 2 transfers-api-t460.productivitytools.top

GitHub Actions Setup

To use the deploy.yml GitHub Actions workflow, the self-hosted runner must be able to execute the CopySites-Availiable.sh script with sudo without being prompted for a password.

  1. SSH into the machine hosting the GitHub Action runner.
  2. Run sudo visudo to edit the sudoers file.
  3. Add the following line to the bottom of the file
    pawel ALL=(ALL) NOPASSWD: ALL
    

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors