Nginx redirect domain/subdomain to an other port

When you want redircet a subdomain or domain to an other application with nginx, you must follow the following steps. Situtation: I have a Nginx which is used for Plesk 11. Now i want redirct my Subdomain „application.rainbow-six3.com“ to my Webapplication, which runs on port 8080. Solution: 1. Go to /etc/nginx 2. Open the file […]

Autostart

Simpel autostart Script for Linux/Debian/Ubuntu Exampel Script: #!/bin/sh ### BEGIN INIT INFO case "$1" in start) echo "Starting NAME" start-stop-daemon –start -quiet -u counterstrike –chuid counterstrike –exec /home/counterstrike/source/server1/csStart.sh start ca ;; stop) echo "Stopping NAME" start-stop-daemon –start -quiet -u counterstrike –chuid counterstrike –exec /home/counterstrike/source/server1/csStart.sh stop ;; *) echo "Usage: /etc/init.d/css1 {start|stop}" exit 1 ;; esac […]

CS:GO Startscript

This is a Bash Script vor Linux. With it can you run the CSGO Server in the backround this has the advantage, when you colse the connection the Server continues. In this example my file means csgo.sh . Install: 1.You Copy this Code in a file, add the Config and save it as bash file. […]

Startscript

This is a Bash Script vor Linux. With it can you run Programs in the backround this has the advantage, when you colse the connection the Program continues. In this example i chose Minecraft and my file means mcStart.sh . You can change the Programm on line 45. Install: 1.You Copy this Code in a […]