Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions nginx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ proxy() { local service="$1" location="$2" header="${3:-""}" \
\
'"$([[ $sockets != "no" ]] && echo ' ## Required for websockets\
proxy_http_version 1.1;\
proxy_set_header Connection "upgrade";\
proxy_set_header Connection $http_connection;\
proxy_set_header Upgrade $http_upgrade;\
proxy_read_timeout 3600s;\
proxy_send_timeout 3600s;')"'\
Expand Down Expand Up @@ -724,4 +724,4 @@ elif ps -ef | egrep -v 'grep|nginx.sh' | grep -q nginx; then
echo "Service already running, please restart container to apply changes"
else
exec nginx -g "daemon off;"
fi
fi