Kano001 commited on
Commit
4879a8c
1 Parent(s): 611b98b

Create nginx.conf

Browse files
Files changed (1) hide show
  1. nginx.conf +24 -0
nginx.conf ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ events {}
2
+
3
+ http {
4
+ server {
5
+ listen 7860;
6
+ server_name localhost;
7
+
8
+ location / {
9
+ root /usr/share/nginx/html;
10
+ index index.html;
11
+ }
12
+ }
13
+
14
+ server {
15
+ listen 7777;
16
+
17
+ location / {
18
+ proxy_pass http://localhost:7777;
19
+ proxy_http_version 1.1;
20
+ proxy_set_header Upgrade $http_upgrade;
21
+ proxy_set_header Connection "Upgrade";
22
+ }
23
+ }
24
+ }