mirror of
https://github.com/dokku/dokku.git
synced 2025-12-28 16:06:40 +01:00
10 lines
201 B
Bash
Executable File
10 lines
201 B
Bash
Executable File
#!/bin/bash
|
|
APP="$1"; PORT="$2"; HOSTNAME="$3"
|
|
cat<<EOF
|
|
upstream $APP { server 127.0.0.1:$PORT; }
|
|
server {
|
|
listen 80;
|
|
server_name $HOSTNAME;
|
|
location / { proxy_pass http://$APP; }
|
|
}
|
|
EOF |