Spaces:
Paused
Paused
Create nginx.conf
Browse files- nginx.conf +11 -0
nginx.conf
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
server {
|
| 2 |
+
listen 4444 default_server;
|
| 3 |
+
listen [::]:4444 default_server;
|
| 4 |
+
|
| 5 |
+
server_name _;
|
| 6 |
+
|
| 7 |
+
location / {
|
| 8 |
+
proxy_pass http://localhost:3000;
|
| 9 |
+
proxy_set_header X-Forwarded-Host $scheme://$host:$server_port;
|
| 10 |
+
}
|
| 11 |
+
}
|