mirror of https://github.com/OpenVidu/openvidu.git
default proxy in specific port
parent
f5cfa00871
commit
4eeed8fefd
|
@ -1,5 +1,5 @@
|
|||
server {
|
||||
listen 80;
|
||||
listen {http_port};
|
||||
|
||||
location /.well-known/acme-challenge/ {
|
||||
root /var/www/certbot;
|
||||
|
|
|
@ -41,6 +41,7 @@ CERTIFICATES_CONF="${CERTIFICATES_FOLDER}/certificates.conf"
|
|||
[ -z "${ALLOWED_ACCESS_TO_RESTAPI}" ] && export ALLOWED_ACCESS_TO_RESTAPI=all
|
||||
|
||||
# Start with default certbot conf
|
||||
sed -i "s/{http_port}/${PROXY_HTTP_PORT}/" /etc/nginx/conf.d/default.conf
|
||||
nginx -g "daemon on;"
|
||||
|
||||
# Show input enviroment variables
|
||||
|
|
Loading…
Reference in New Issue