Point nginx upstream at 127.0.0.1:33033
This commit is contained in:
@@ -2,12 +2,12 @@
|
|||||||
#
|
#
|
||||||
# Camera (getUserMedia) and DeviceOrientation require a secure context,
|
# Camera (getUserMedia) and DeviceOrientation require a secure context,
|
||||||
# so the site MUST be served over HTTPS. nginx terminates TLS here and
|
# so the site MUST be served over HTTPS. nginx terminates TLS here and
|
||||||
# forwards plain HTTP to the Node app on 127.0.0.1:3000.
|
# forwards plain HTTP to the Node app on 127.0.0.1:33033.
|
||||||
#
|
#
|
||||||
# Adjust server_name, certificate paths, and the upstream port to taste.
|
# Adjust server_name, certificate paths, and the upstream port to taste.
|
||||||
|
|
||||||
upstream newbury_nights {
|
upstream newbury_nights {
|
||||||
server 127.0.0.1:3000;
|
server 127.0.0.1:33033;
|
||||||
keepalive 32;
|
keepalive 32;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user