Update Remotely_Server_Install.sh

This commit is contained in:
Jared 2019-03-22 07:28:43 -07:00 committed by GitHub
parent 80e99831c5
commit c98bc01dcc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,7 +3,7 @@ command (e.g. dotnet publish <path to csproj file> -o <output directory>).
The output directory is the app root path. This would typically be in /var/www/[appname]/.
"
read -p "Enter app root path: " appRoot
read -p "Enter app host (e.g. example.com): " appHost
read -p "Enter server host (e.g. example.com): " serverHost
@ -22,7 +22,7 @@ systemctl start nginx
# Configure Nginx
nginxConfig="server {
listen 80;
server_name $appHost *.$appHost;
server_name $serverHost *.$serverHost;
location / {
proxy_pass http://localhost:5000;
proxy_http_version 1.1;
@ -117,4 +117,4 @@ certbot --nginx
apt-get install ffmpeg
apt-get install libgdiplus
apt-get install libgdiplus