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 […]