|
|
|
|
165
|
# check that the web site exists
|
165
|
# check that the web site exists
|
166
|
if [ ! -f /etc/nginx/sites-available/$HOSTNAME ]; then
|
166
|
if [ ! -f /etc/nginx/sites-available/$HOSTNAME ]; then
|
167
|
echo "/etc/nginx/sites-available/$HOSTNAME does not exist"
|
167
|
echo "/etc/nginx/sites-available/$HOSTNAME does not exist"
|
168
|
- return 7598
|
|
|
|
|
168
|
+ exit 7598
|
169
|
fi
|
169
|
fi
|
170
|
|
170
|
|
171
|
if [[ $PROVIDER == 'startssl' || $PROVIDER == 'StartSSL' ]]; then
|
171
|
if [[ $PROVIDER == 'startssl' || $PROVIDER == 'StartSSL' ]]; then
|